summaryrefslogtreecommitdiff
path: root/repo/zathura-pdf-poppler
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-pdf-poppler
parentfccdaa986f67f820df2914bef851d5fed77abac8 (diff)
added porting from alpine linux
Diffstat (limited to 'repo/zathura-pdf-poppler')
-rw-r--r--repo/zathura-pdf-poppler/zathura-pdf-poppler.xibuild21
1 files changed, 21 insertions, 0 deletions
diff --git a/repo/zathura-pdf-poppler/zathura-pdf-poppler.xibuild b/repo/zathura-pdf-poppler/zathura-pdf-poppler.xibuild
new file mode 100644
index 0000000..73b7c05
--- /dev/null
+++ b/repo/zathura-pdf-poppler/zathura-pdf-poppler.xibuild
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+NAME="zathura-pdf-poppler"
+DESC="Poppler plugin adds PDF support to zathura"
+
+MAKEDEPS="zathura poppler meson ninja"
+DEPS="zathura poppler"
+
+PKG_VER=0.3.0
+SOURCE="https://git.pwmt.org/pwmt/zathura-pdf-poppler/-/archive/$PKG_VER/zathura-pdf-poppler-$PKG_VER.tar.gz"
+
+build() {
+ meson --prefix=/usr \
+ build
+ meson compile ${JOBS:+-j ${JOBS}} -C build
+}
+
+package() {
+ DESTDIR="$PKG_DEST" meson install --no-rebuild -C build
+}
+