# 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