28 lines
782 B
Bash
28 lines
782 B
Bash
# Template file for 'fbpdf'
|
|
pkgname=fbpdf
|
|
version=0.0.20181018
|
|
revision=1
|
|
wrksrc=fbpdf-dfe9f00
|
|
build_style=gnu-makefile
|
|
makedepends="djvulibre-devel freetype-devel harfbuzz-devel libressl-devel
|
|
mupdf-devel"
|
|
short_desc="Small framebuffer PDF/DJVU viewer"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="ISC"
|
|
homepage="http://repo.or.cz/w/fbpdf.git"
|
|
distfiles="http://repo.or.cz/fbpdf.git/snapshot/dfe9f0067549f759cdc04f2f62b4f89cd6e1b199.tar.gz"
|
|
checksum=f2ff9b9f4679963d091650ad55083af65abab26e57906618cd76d23326ff825a
|
|
|
|
pre_build() {
|
|
# Can't do it via LDFLAGS, that messes up the linking order
|
|
sed 's/-threads/& -lfreetype -lharfbuzz -lz -ljbig2dec -ljpeg -lopenjp2/' \
|
|
-i Makefile
|
|
}
|
|
|
|
do_install() {
|
|
vbin fbpdf
|
|
vbin fbdjvu
|
|
vdoc README # no manpage
|
|
vlicense LICENSE
|
|
}
|