summaryrefslogtreecommitdiff
path: root/community/fbreader
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-03-02 00:04:05 -0800
committerroot <root@rshg054.dnsready.net>2013-03-02 00:04:05 -0800
commit98aa0004e23472ee63753fded33cd55d8b942f36 (patch)
tree1299d9cfb8bcd6bd295a1a279b4ad322b4e9133a /community/fbreader
parent5ae40a63ab4c6838234db5a9da1e99d8bc27875d (diff)
Sat Mar 2 00:04:03 PST 2013
Diffstat (limited to 'community/fbreader')
-rw-r--r--community/fbreader/PKGBUILD13
1 files changed, 8 insertions, 5 deletions
diff --git a/community/fbreader/PKGBUILD b/community/fbreader/PKGBUILD
index d5677b5fb..8e23f7412 100644
--- a/community/fbreader/PKGBUILD
+++ b/community/fbreader/PKGBUILD
@@ -1,15 +1,15 @@
-# $Id: PKGBUILD 80756 2012-12-03 10:06:37Z spupykin $
+# $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=1
+pkgrel=2
pkgdesc="An e-book reader for Linux"
arch=('i686' 'x86_64')
url="http://www.fbreader.org/"
license=('GPL')
-depends=('fribidi' 'bzip2' 'curl' 'qt' 'liblinebreak' 'sqlite')
+depends=('fribidi' 'bzip2' 'curl' 'qt4' 'liblinebreak' 'sqlite')
makedepends=('ccache')
source=(http://www.fbreader.org/files/desktop/fbreader-sources-$pkgver.tgz)
md5sums=('ed13a9c3aeb68aaa98a1dd6f7947a31d')
@@ -19,8 +19,11 @@ build() {
export UI_TYPE=qt4
export TARGET_STATUS=release
cd $srcdir/fbreader-$pkgver
- sed -i 's|moc-qt4|moc|g' makefiles/arch/desktop.mk
sed -i 's|-lunibreak|-llinebreak|g' makefiles/config.mk zlibrary/text/Makefile
- make ZLSHARED=no
+ make ZLSHARED=no MOC=/usr/bin/moc-qt4
+}
+
+package() {
+ cd $srcdir/fbreader-$pkgver
make ZLSHARED=no DESTDIR=$pkgdir install
}