summaryrefslogtreecommitdiff
path: root/repo/zathura/zathura.xibuild
blob: 45fc2b4c024b2220ff43fd70b0f80b29dd13036b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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
}