summaryrefslogtreecommitdiff
path: root/repo/apps/feh.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/apps/feh.xibuild')
-rw-r--r--repo/apps/feh.xibuild21
1 files changed, 21 insertions, 0 deletions
diff --git a/repo/apps/feh.xibuild b/repo/apps/feh.xibuild
new file mode 100644
index 0000000..e33ad4f
--- /dev/null
+++ b/repo/apps/feh.xibuild
@@ -0,0 +1,21 @@
+#!/bin/bash
+
+MAKEDEPS=(make)
+DEPS=(curl file imlib2 libexif libxinerama libpng)
+
+DESC="Fast and light imlib2-based image viewer"
+
+PKG_VER=3.8
+SOURCE=https://feh.finalrewind.org/feh-$PKG_VER.tar.bz2
+
+prepare () {
+ sed -i "s:doc/feh:&-3.8:" config.mk
+}
+
+build () {
+ make PREFIX=/usr
+}
+
+package () {
+ make DESTDIR=$PKG_DEST PREFIX=/usr install
+}