summaryrefslogtreecommitdiff
path: root/community/aubio/PKGBUILD
blob: 13739c2cf2c8422c4c4a134930165548d3143748 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
eval "$(
  declare -f prepare | \
    sed '
      /^{/ a patch -d "${pkgbase}-${pkgver}" -p1 -i "${srcdir}/assert-almost.patch"
    '
)"
source+=(assert-almost.patch)
sha512sums+=('3a946aaf305ee93ad70ca3b26529fdd58822c9bd177b5a00ace99426b1ba50672d24331d13b6b172a0f8d01ed23feea478b6a15f379d6affa796eb6c2aaadeb2')

# CARCH -> pentium4 bug
if [ "${CARCH}" = "pentium4" ]; then
  eval "$(
    declare -f check | \
      sed '
        s/$CARCH/i686/
      '
  )"
fi