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

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