summaryrefslogtreecommitdiff
path: root/community/gpicview/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/gpicview/PKGBUILD')
-rw-r--r--community/gpicview/PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/community/gpicview/PKGBUILD b/community/gpicview/PKGBUILD
index ef08560b4..6d5200832 100644
--- a/community/gpicview/PKGBUILD
+++ b/community/gpicview/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=gpicview
pkgver=0.2.3
pkgrel=1
pkgdesc="lightweight image viewer"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
url="http://lxde.org/"
groups=('lxde')
@@ -20,6 +20,7 @@ md5sums=('0f1275b5b0ca66e48963a7ccda8a5019')
build() {
cd "$srcdir/$pkgname-$pkgver"
+ sed -ri 's/^(gpicview_LDADD = .+)/\1 -lm/' src/Makefile.in
./configure --sysconfdir=/etc --prefix=/usr
make
}