summaryrefslogtreecommitdiff
path: root/user/feh/APKBUILD
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2018-01-03 03:14:21 +0000
committerMax Rees <maxcrees@me.com>2018-01-06 23:19:03 +0000
commit9a66dd93d70eb2f1593878a0587900f24857d098 (patch)
treeaac4c08435d66316efc021ef5a2b0cf0db579eae /user/feh/APKBUILD
parent54252e3f3ad2451193df2e01af5d2acfad1db83e (diff)
downloadpackages-9a66dd93d70eb2f1593878a0587900f24857d098.tar.gz
packages-9a66dd93d70eb2f1593878a0587900f24857d098.tar.bz2
packages-9a66dd93d70eb2f1593878a0587900f24857d098.tar.xz
packages-9a66dd93d70eb2f1593878a0587900f24857d098.zip
user/feh: new package
Diffstat (limited to 'user/feh/APKBUILD')
-rw-r--r--user/feh/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/user/feh/APKBUILD b/user/feh/APKBUILD
new file mode 100644
index 000000000..492cc2275
--- /dev/null
+++ b/user/feh/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: Max Rees <maxcrees@me.com>
+# Maintainer: Max Rees <maxcrees@me.com>
+pkgname=feh
+pkgver=2.22
+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"
+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="403b1e760e2b3e177768b47de5bb7bd45c11152f04a21f6788afcaec12357a085f7c9944000f78a8df41a3d60a67985622d36effd543216153ab04e539b5b85f feh-2.22.tar.bz2
+38ead15a58c402181da3e39c09002d9f951b03cfdf5edde19072da313638025dca5fa7dbe466b8f05094d49d44750c467d7fa3832fbaa11ac135c5839e0ecdc1 stdout-buff.patch"