From 8823f0964ee492692eea452f13336d7ea2bd704f Mon Sep 17 00:00:00 2001 From: Diogo Leal Date: Sat, 28 Nov 2015 10:04:57 -0200 Subject: [PATCH] New package: fbreader-0.99.4 --- srcpkgs/fbreader/template | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 srcpkgs/fbreader/template diff --git a/srcpkgs/fbreader/template b/srcpkgs/fbreader/template new file mode 100644 index 00000000000..521f6f75a50 --- /dev/null +++ b/srcpkgs/fbreader/template @@ -0,0 +1,18 @@ +# Template file for 'fbreader' +pkgname=fbreader +version=0.99.4 +revision=1 +build_style=gnu-makefile +hostmakedepends="pkg-config" +makedepends="fribidi-devel bzip2-devel expat-devel libcurl-devel libunibreak-devel sqlite-devel qt-devel zlib-devel" +short_desc="An e-book reader" +maintainer="Diogo Leal " +license="GPL-3" +homepage="http://www.fbreader.org/" +distfiles="http://www.fbreader.org/files/desktop/${pkgname}-sources-${version}.tgz" +checksum=3d7c31d5ea314589d2a963290ad16f4d3d631a41e802b8b39f8be0c9f71eb8e9 + +do_build() { + sed -e "s:-llinebreak:-lunibreak:" -i makefiles/config.mk zlibrary/text/Makefile + make -j1 -C zlibrary/core TARGET_ARCH=desktop UI_TYPE=dummy +}