From 06f8d090fbadf205eeb30a9cfe5d97702a8831ad Mon Sep 17 00:00:00 2001 From: Christian Neukirchen <chneukirchen@gmail.com> Date: Wed, 2 Dec 2015 13:50:01 +0100 Subject: [PATCH] New package: fbpdf-0.0.20150504 --- srcpkgs/fbpdf/template | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 srcpkgs/fbpdf/template diff --git a/srcpkgs/fbpdf/template b/srcpkgs/fbpdf/template new file mode 100644 index 0000000000..54c777fdd5 --- /dev/null +++ b/srcpkgs/fbpdf/template @@ -0,0 +1,25 @@ +# Template file for 'fbpdf' +pkgname=fbpdf +version=0.0.20150504 +revision=1 +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 +}