summaryrefslogtreecommitdiff
path: root/repo/apps/feh.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-02-21 21:39:04 +0000
committerdavidovski <david@davidovski.xyz>2022-02-21 21:39:04 +0000
commit1a229996c3bd26cc39e409fac83d29b3f5d5b17c (patch)
treed7c29fe19ed1d0cb01b89f3cbc47318740ebba63 /repo/apps/feh.xibuild
parentd360f4601f24febd6461b3163b2dd93401db67b0 (diff)
added feh
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
+}