cruxports/zathura-pdf-poppler/Pkgfile

18 lines
638 B
Plaintext

# Description: adds PDF support to zathura by using the poppler rendering engine
# URL: http://pwmt.org/projects/zathura-pdf-poppler/
# Maintainer: John McQuah, jmcquah at disroot dot org
# Depends on: glib poppler zathura
name=zathura-pdf-poppler
version=0.3.2
release=1
source=(http://pwmt.org/projects/$name/download/$name-$version.tar.xz)
build() {
[ -e /usr/include/poppler/glib/poppler.h ] || { printf '\e[1;31m%-6s\e[m\n' "rebuild poppler with glib support, you need it for ${name}. Quitting.." ; exit 1; }
cd $name-$version
meson setup build --prefix=/usr
DESTDIR=$PKG ninja -C build -j ${JOBS:-1} install
}