summaryrefslogtreecommitdiff
path: root/extra/nasm/PKGBUILD
blob: 7af19efd8acd9b5cea4f937487d4d94e4340cb49 (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')
sha512sums+=('3bf974c067d16144d1457c0ef4d63bab511e6949923338cc7555169b297617ed0ec3de5825faf85afd5da735aa46f7d2e603319badead7e8bc1f6a4d58f1bd2d')
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