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

# i486-specific
if [ "${CARCH}" = "i486" ]; then
  # remove ttf-liberation (X packages missing for installing the font)
  makedepends=(${makedepends[@]//ttf-liberation/})

  eval "$(
    declare -f build | \
      sed "
        /make .*doc/d
      "
  )"
fi