summaryrefslogtreecommitdiff
path: root/repo/zathura/zathura.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-03 13:05:13 +0100
committerdavidovski <david@davidovski.xyz>2022-06-03 13:05:13 +0100
commit66c326b6d65388e9f1003715ad9675505f01f9d2 (patch)
tree40d7355cccfa3464902cf339a563e744c28a7101 /repo/zathura/zathura.xibuild
parentfccdaa986f67f820df2914bef851d5fed77abac8 (diff)
added porting from alpine linux
Diffstat (limited to 'repo/zathura/zathura.xibuild')
-rw-r--r--repo/zathura/zathura.xibuild27
1 files changed, 27 insertions, 0 deletions
diff --git a/repo/zathura/zathura.xibuild b/repo/zathura/zathura.xibuild
new file mode 100644
index 0000000..45fc2b4
--- /dev/null
+++ b/repo/zathura/zathura.xibuild
@@ -0,0 +1,27 @@
+#!/bin/sh
+
+NAME="zathura"
+DESC="highly customizable and functional document viewer"
+
+MAKEDEPS="girara file sqlite3 intltool check libseccomp python-docutils ncurses meson ninja python-sphinx texlive libsynctex"
+
+PKG_VER=0.4.9
+SOURCE="https://git.pwmt.org/pwmt/zathura/-/archive/$PKG_VER/zathura-$PKG_VER.tar.gz"
+
+ADDITIONAL="
+fix-fish-completion.patch
+"
+
+build() {
+ meson --prefix=/usr \
+ build
+ meson compile ${JOBS:+-j ${JOBS}} -C build
+}
+
+check() {
+ meson test --no-rebuild -v -C build
+}
+
+package() {
+ DESTDIR="$PKG_DEST" meson install --no-rebuild -C build
+}