Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/nasm/PKGBUILD
blob: f644e42617d6347546f51e24a58bc961dffeafee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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