diff options
Diffstat (limited to 'main/feh')
-rw-r--r-- | main/feh/APKBUILD | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/main/feh/APKBUILD b/main/feh/APKBUILD index a609b8d994..a4c679b7eb 100644 --- a/main/feh/APKBUILD +++ b/main/feh/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=feh pkgver=1.3.4 -pkgrel=0 +pkgrel=1 pkgdesc="feh is a fast, lightweight image viewer which uses imlib2" url="http://www.linuxbrit.co.uk/feh/" license="MIT" @@ -10,13 +10,17 @@ depends= makedepends="libxt-dev libpng-dev giblib-dev imlib2-dev jpeg-dev" source="http://linuxbrit.co.uk/downloads/$pkgname-$pkgver.tar.gz" -build () -{ - cd $srcdir/$pkgname-$pkgver +_builddir="$srcdir"/$pkgname-$pkgver +build() { + cd "$_builddir" ./configure --prefix=/usr \ --mandir=/usr/share/man || return 1 make || return 1 +} + +package() { + cd "$_builddir" make DESTDIR=$pkgdir docsdir=/usr/share/doc/feh install || return 1 - install -D -m644 COPYING $pkgdir/usr/share/licenses/$pkgname/LICENSE + install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE } md5sums="3d35ba3d2f0693b019800787f1103891 feh-1.3.4.tar.gz" |