From d59a7169539efa25456c18211810d10f6356229e Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Wed, 18 Jul 2018 15:27:13 +0000 Subject: extra/nasm: added i486-specific patch --- extra/nasm/PKGBUILD | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 extra/nasm/PKGBUILD (limited to 'extra/nasm/PKGBUILD') diff --git a/extra/nasm/PKGBUILD b/extra/nasm/PKGBUILD new file mode 100644 index 00000000..f644e426 --- /dev/null +++ b/extra/nasm/PKGBUILD @@ -0,0 +1,20 @@ +# i486-specific +if [ "${CARCH}" = "i486" ]; then + # remove all fonts and ghostscript (we don't build the manual) + makedepends=(${makedepends[@]//perl-font-ttf/}) + makedepends=(${makedepends[@]//perl-sort-versions/}) + makedepends=(${makedepends[@]//fontconfig/}) + makedepends=(${makedepends[@]//adobe-source-sans-pro-fonts/}) + makedepends=(${makedepends[@]//ttf-liberation/}) + makedepends=(${makedepends[@]//ghostscript/}) + + eval "$( + declare -f build | \ + sed ' + /make .*doc/d + ' + )" +fi + +# orginal download link unstable +#sed -i 's@http://www.nasm.us/pub/nasm/releasebuilds/${pkgver}/${pkgname}-${pkgver}.tar.xz@https://ftp.osuosl.org/pub/blfs/conglomeration/${pkgname}/${pkgname}-${pkgver}.tar.xz@' PKGBUILD -- cgit v1.2.3-70-g09d2