summaryrefslogtreecommitdiff
path: root/extra/nasm/PKGBUILD
blob: 6e1fab998d481382434e568a1104eeb40d783451 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# see FS#60380
source+=('0001-Remove-invalid-pure_func-qualifiers.patch')
sha1sums+=('b853817a1dd5dc902b36ae80d11402d68e6d9a44')
prepare() {
  cd $pkgname-$pkgver
  patch -Np1 -i "$srcdir/0001-Remove-invalid-pure_func-qualifiers.patch"
}

# remove ttf-liberation on i486 (X packages missing for installing the font)
makedepends=(${makedepends[@]//ttf-liberation/})
makedepends_i686+=(ttf-liberation)

# i486-specific
if [ "${CARCH}" = "i486" ]; then
  # remove ttf-liberation (X packages missing for installing the font)
  eval "$(
    declare -f build | \
      sed "
        /make .*doc/d
      "
  )"
fi