diff options
author | root <root@rshg054.dnsready.net> | 2012-07-19 00:01:52 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-07-19 00:01:52 +0000 |
commit | 6b87f8519dc037f4fd4c19d8f36b7d7565559bd3 (patch) | |
tree | 4c1b86f91ce9c742867b6eecd4857b20919cd713 /community/fbreader | |
parent | 63d179775e063452db6358e15b9847e7fc6c84b6 (diff) |
Thu Jul 19 00:01:52 UTC 2012
Diffstat (limited to 'community/fbreader')
-rw-r--r-- | community/fbreader/PKGBUILD | 27 |
1 files changed, 11 insertions, 16 deletions
diff --git a/community/fbreader/PKGBUILD b/community/fbreader/PKGBUILD index 3cdb3e1e3..51568d851 100644 --- a/community/fbreader/PKGBUILD +++ b/community/fbreader/PKGBUILD @@ -1,30 +1,25 @@ -# $Id: PKGBUILD 63548 2012-02-05 11:55:20Z ibiru $ +# $Id: PKGBUILD 73949 2012-07-17 11:17:34Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: William Rea <sillywilly@gmail.com> pkgname=fbreader -pkgver=0.12.10 -pkgrel=3 +pkgver=0.99.0 +pkgrel=1 pkgdesc="An e-book reader for Linux" arch=('i686' 'x86_64') url="http://www.fbreader.org/" license=('GPL') -depends=('fribidi' 'bzip2' 'curl' 'gtk2' 'liblinebreak' 'sqlite3') -source=(http://www.fbreader.org/files/sources/fbreader-sources-$pkgver.tgz - build-fix.patch) -md5sums=('da9ec4721efdb0ec0aaa182bff16ad82' - '66ac17d8640625b6d2a806de4aa4e76c') +depends=('fribidi' 'bzip2' 'curl' 'qt' 'liblinebreak' 'sqlite') +makedepends=('ccache') +source=(http://www.fbreader.org/files/desktop/fbreader-sources-$pkgver.tgz) +md5sums=('2afbfa07dda09a979d5cf8797e2b648d') build() { - export CPPFLAGS="-I/usr/include/cairo" export TARGET_ARCH=desktop - export UI_TYPE=gtk + export UI_TYPE=qt4 export TARGET_STATUS=release - export srcdir - cd $srcdir/fbreader-$pkgver - patch -p0 makefiles/config.mk <$srcdir/build-fix.patch - sed -i 's#Library::Library &Library::Instance()#Library \&Library::Instance()#' fbreader/src/library/Library.cpp - make INSTALLDIR=/usr - make INSTALLDIR=/usr DESTDIR=$pkgdir install + sed -i 's|moc-qt4|moc|g' makefiles/arch/desktop.mk + make ZLSHARED=no + make ZLSHARED=no DESTDIR=$pkgdir install } |