diff options
Diffstat (limited to 'main/feh/APKBUILD')
-rw-r--r-- | main/feh/APKBUILD | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/main/feh/APKBUILD b/main/feh/APKBUILD new file mode 100644 index 0000000000..a609b8d994 --- /dev/null +++ b/main/feh/APKBUILD @@ -0,0 +1,22 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=feh +pkgver=1.3.4 +pkgrel=0 +pkgdesc="feh is a fast, lightweight image viewer which uses imlib2" +url="http://www.linuxbrit.co.uk/feh/" +license="MIT" +subpackages="$pkgname-doc" +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 + ./configure --prefix=/usr \ + --mandir=/usr/share/man || return 1 + make || return 1 + make DESTDIR=$pkgdir docsdir=/usr/share/doc/feh install || return 1 + install -D -m644 COPYING $pkgdir/usr/share/licenses/$pkgname/LICENSE +} +md5sums="3d35ba3d2f0693b019800787f1103891 feh-1.3.4.tar.gz" |