23 lines
637 B
Plaintext
23 lines
637 B
Plaintext
# Description: PDF support for zathura using mupdf rendering library
|
|
# URL: https://pwmt.org/projects/zathura-pdf-mupdf
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: mujs mupdf zathura
|
|
|
|
name=zathura-pdf-mupdf
|
|
version=0.4.4
|
|
release=1
|
|
source=(https://github.com/pwmt/zathura-pdf-mupdf/archive/$version/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
meson setup $name-$version build \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--buildtype=plain \
|
|
--wrap-mode nodownload \
|
|
-D b_lto=true \
|
|
-D b_pie=true
|
|
meson compile -C build
|
|
DESTDIR=$PKG meson install -C build
|
|
find $PKG -perm /go+w -exec chmod go-w {} \;
|
|
}
|