void-packages/srcpkgs/fbpdf/template

26 lines
711 B
Bash
Raw Normal View History

2015-12-02 13:50:01 +01:00
# Template file for 'fbpdf'
pkgname=fbpdf
version=0.0.20150504
2016-03-25 22:35:07 +01:00
revision=2
2015-12-02 13:50:01 +01:00
wrksrc="fbpdf-d8a4ae1"
build_style=gnu-makefile
makedepends="mupdf-devel djvulibre-devel freetype-devel libressl-devel"
short_desc="Small framebuffer PDF/DJVU viewer"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="BSD"
homepage="http://repo.or.cz/w/fbpdf.git"
distfiles="http://repo.or.cz/fbpdf.git/snapshot/d8a4ae17148d8cb68cadcb1caf8b00ac823f2ba4.tar.gz"
checksum=2ea335d4e4b143adce5753f45ee60a246917bb9cd2f4c29a654799dd0a2ba0db
post_extract() {
sed -i s/lopenjpeg/lopenjp2/g Makefile
sed -i 's/CTRL(/CTRLKEY(/g' fbpdf.c
}
do_install() {
vbin fbpdf
vbin fbdjvu
vdoc README # no manpage
vlicense LICENSE
}