diff options
Diffstat (limited to 'community/gpicview/PKGBUILD')
-rw-r--r-- | community/gpicview/PKGBUILD | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/community/gpicview/PKGBUILD b/community/gpicview/PKGBUILD index 9c52edf9e..79e692e2b 100644 --- a/community/gpicview/PKGBUILD +++ b/community/gpicview/PKGBUILD @@ -7,7 +7,7 @@ pkgname=gpicview pkgver=0.2.4 pkgrel=1 pkgdesc='Lightweight image viewer' -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') license=('GPL2') url='http://lxde.org/' groups=('lxde') @@ -26,7 +26,8 @@ prepare() { } build() { - cd $pkgname-$pkgver + cd "$srcdir/$pkgname-$pkgver" + sed -ri 's/^(gpicview_LDADD = .+)/\1 -lm/' src/Makefile.in ./configure --sysconfdir=/etc --prefix=/usr make } |