diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2020-05-30 16:32:15 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2020-05-30 16:32:15 +0200 |
commit | 238fc0de0fe286a74a6b5f5dd42b125d126515c1 (patch) | |
tree | bb0a08d85ccb7841c270302468608d65d005442d | |
parent | 898a914602493fdc8ddc47e7b186731a1ef57610 (diff) | |
download | packages-238fc0de0fe286a74a6b5f5dd42b125d126515c1.tar.xz |
extra/fmt: disable doc/npm on i486
-rw-r--r-- | extra/fmt/PKGBUILD | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/extra/fmt/PKGBUILD b/extra/fmt/PKGBUILD new file mode 100644 index 00000000..7cd864bd --- /dev/null +++ b/extra/fmt/PKGBUILD @@ -0,0 +1,20 @@ +# no npm on i486 (used for documnentation only) +makedepends=(${makedepends[@]//npm/}) +makedepends_i686+=(npm) +makedepends_pentium4=("${makedepends_i686[@]}") + +if [ "${CARCH}" = "i486" ]; then + eval "$( + declare -f prepare | \ + sed ' + /npm/d + ' + )" + + eval "$( + declare -f build | \ + sed ' + /cmake.*doc/d + ' + )" +fi |