index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
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 /extra | |
parent | 898a914602493fdc8ddc47e7b186731a1ef57610 (diff) |
-rw-r--r-- | extra/fmt/PKGBUILD | 20 |
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 |