void-packages/srcpkgs/fbpdf/template

25 lines
702 B
Bash
Raw Normal View History

2015-12-02 12:50:01 +00:00
# Template file for 'fbpdf'
pkgname=fbpdf
2016-06-20 20:46:04 +00:00
version=0.0.20160408
revision=1
wrksrc="fbpdf-43ca240"
2015-12-02 12:50:01 +00:00
build_style=gnu-makefile
2016-06-20 20:46:04 +00:00
makedepends="djvulibre-devel freetype-devel harfbuzz-devel libressl-devel mupdf-devel"
2015-12-02 12:50:01 +00:00
short_desc="Small framebuffer PDF/DJVU viewer"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="BSD"
homepage="http://repo.or.cz/w/fbpdf.git"
2016-06-20 20:46:04 +00:00
distfiles="http://repo.or.cz/fbpdf.git/snapshot/43ca240b0b92a160f724441278e969aef226b31c.tar.gz"
checksum=75ba53a14f132b42ce6020315c0af20293aa8e5327eecf110afadc6f1767c1a2
2015-12-02 12:50:01 +00:00
post_extract() {
2016-06-20 20:46:04 +00:00
sed -i 's/lopenjpeg/lopenjp2 -lharfbuzz/g' Makefile
2015-12-02 12:50:01 +00:00
}
do_install() {
vbin fbpdf
vbin fbdjvu
vdoc README # no manpage
vlicense LICENSE
}