diff options
Diffstat (limited to 'user/feh/APKBUILD')
-rw-r--r-- | user/feh/APKBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/user/feh/APKBUILD b/user/feh/APKBUILD new file mode 100644 index 000000000..b68566ae2 --- /dev/null +++ b/user/feh/APKBUILD @@ -0,0 +1,42 @@ +# Contributor: Max Rees <maxcrees@me.com> +# Maintainer: Max Rees <maxcrees@me.com> +pkgname=feh +pkgver=2.23 +pkgrel=0 +pkgdesc="feh is a fast, lightweight image viewer which uses imlib2" +url="http://feh.finalrewind.org/" +arch="all" +license="MIT-feh" +subpackages="$pkgname-doc" +depends= +makedepends="libxt-dev libpng-dev giblib-dev imlib2-dev libjpeg-turbo-dev + libxinerama-dev curl-dev libexif-dev" +checkdepends="perl-utils perl-test-command" +source="https://feh.finalrewind.org/$pkgname-$pkgver.tar.bz2 + stdout-buff.patch + cflags.patch" +builddir="$srcdir/$pkgname-$pkgver" + +build() { + cd "$builddir" + make PREFIX=/usr curl=1 exif=1 xinerama=1 +} + +check() { + cd "$builddir" + make PREFIX=/usr test +} + +package() { + cd "$builddir" + make PREFIX=/usr DESTDIR="$pkgdir" \ + bin_dir="$pkgdir"/usr/bin \ + man_dir="$pkgdir"/usr/share/man \ + doc_dir="$pkgdir"/usr/share/doc/$pkgname \ + example_dir="$pkgdir"/usr/share/doc/$pkgname/examples \ + install +} + +sha512sums="4b75f0053c3a4b1fb51251536896fd48470117ca3d59de1ac5a87f8071f37f886542e7d82730eec4579a1ebf507e4bc8a00fc45cf1364d2445b1aa82c5664ee7 feh-2.23.tar.bz2 +38ead15a58c402181da3e39c09002d9f951b03cfdf5edde19072da313638025dca5fa7dbe466b8f05094d49d44750c467d7fa3832fbaa11ac135c5839e0ecdc1 stdout-buff.patch +577e0420aef6bbf1cc43fe97813fd56a877c45b9cb01f1f86ee41863a8bf12f97b5f62c01b37a6b8fc78f7dd8ab9a372d1b09ba00e3811d0043772f5e16e0707 cflags.patch" |