cruxports/zathura-pdf-poppler/Pkgfile

18 lines
638 B
Plaintext
Raw Normal View History

2022-02-05 15:39:19 -05:00
# 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
2022-02-05 15:39:19 -05:00
name=zathura-pdf-poppler
2023-12-11 07:04:01 -05:00
version=0.3.2
2022-02-05 15:39:19 -05:00
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
2022-02-05 15:39:19 -05:00
meson setup build --prefix=/usr
DESTDIR=$PKG ninja -C build -j ${JOBS:-1} install
2022-02-05 15:39:19 -05:00
}