summaryrefslogtreecommitdiff
path: root/libre/netpbm/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/netpbm/PKGBUILD')
-rw-r--r--libre/netpbm/PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/libre/netpbm/PKGBUILD b/libre/netpbm/PKGBUILD
index 714f41d88..9da6a53d9 100644
--- a/libre/netpbm/PKGBUILD
+++ b/libre/netpbm/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=netpbm
pkgver=10.69.02
pkgrel=1.parabola2
pkgdesc="A toolkit for manipulation of graphic images, without nonfree parts and patent issues"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'armv7h')
license=('custom' 'BSD' 'GPL' 'LGPL')
url="http://netpbm.sourceforge.net/"
depends=('perl' 'libpng' 'libtiff' 'libxml2')
@@ -117,6 +117,7 @@ prepare() {
cp config.mk.in config.mk
[ "${CARCH}" = 'x86_64' ] && echo 'CFLAGS_SHLIB = -fPIC' >> config.mk
+ [ "${CARCH}" = 'armv7h' ] && echo 'CFLAGS_SHLIB = -fPIC' >> config.mk
echo "NETPBM_DOCURL = file://${srcdir}/doc" >> config.mk
echo 'TIFFLIB = libtiff.so' >> config.mk
echo 'JPEGLIB = libjpeg.so' >> config.mk