summaryrefslogtreecommitdiff
path: root/community/fbreader
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
committerroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
commit7a65a910b77ad191d69881098c47f9b0c852d92e (patch)
tree9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/fbreader
parent60da6abff6c9577a783d72865f11de7a585e912e (diff)
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/fbreader')
-rw-r--r--community/fbreader/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/community/fbreader/PKGBUILD b/community/fbreader/PKGBUILD
new file mode 100644
index 000000000..8e23f7412
--- /dev/null
+++ b/community/fbreader/PKGBUILD
@@ -0,0 +1,29 @@
+# $Id: PKGBUILD 85342 2013-03-01 10:29:55Z andrea $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: William Rea <sillywilly@gmail.com>
+
+pkgname=fbreader
+pkgver=0.99.4
+pkgrel=2
+pkgdesc="An e-book reader for Linux"
+arch=('i686' 'x86_64')
+url="http://www.fbreader.org/"
+license=('GPL')
+depends=('fribidi' 'bzip2' 'curl' 'qt4' 'liblinebreak' 'sqlite')
+makedepends=('ccache')
+source=(http://www.fbreader.org/files/desktop/fbreader-sources-$pkgver.tgz)
+md5sums=('ed13a9c3aeb68aaa98a1dd6f7947a31d')
+
+build() {
+ export TARGET_ARCH=desktop
+ export UI_TYPE=qt4
+ export TARGET_STATUS=release
+ cd $srcdir/fbreader-$pkgver
+ sed -i 's|-lunibreak|-llinebreak|g' makefiles/config.mk zlibrary/text/Makefile
+ make ZLSHARED=no MOC=/usr/bin/moc-qt4
+}
+
+package() {
+ cd $srcdir/fbreader-$pkgver
+ make ZLSHARED=no DESTDIR=$pkgdir install
+}