diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-01-28 13:52:03 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-01-28 13:52:03 +0000 |
commit | 8b8b5e79ecee9b6e9adffee9a4f247c5c88c2bc8 (patch) | |
tree | d01d23109e8f180fd25c7858bf41fc863232d6ea | |
parent | 1e95fa6d06b7c11a07d3a6f3083fb78621b810c7 (diff) | |
download | aports-8b8b5e79ecee9b6e9adffee9a4f247c5c88c2bc8.tar.bz2 aports-8b8b5e79ecee9b6e9adffee9a4f247c5c88c2bc8.tar.xz |
main/feh: rebuild against libpng-1.4
-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" |