summaryrefslogtreecommitdiff
path: root/community/fbreader
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-07-23 18:13:37 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2012-07-23 18:13:37 +0200
commitcc565b7309a5708f2375b5f6926d173fd122119d (patch)
treec1d4adcda7f0b767537620aea02633158e17218a /community/fbreader
parentc25ed1401d3fa3dd6827c33bc11b660dcd425f23 (diff)
parenta65eb6fe2ea0ffa22c65de34506c88aeeb3c88ee (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community-testing/electricsheep/PKGBUILD community/bitcoin/PKGBUILD community/gnash/PKGBUILD community/mongodb/PKGBUILD community/xmlrpc-c/PKGBUILD community/xmoto/PKGBUILD core/kbd/PKGBUILD extra/elfutils/PKGBUILD extra/gtk2/PKGBUILD extra/hddtemp/PKGBUILD extra/libpst/PKGBUILD extra/mkvtoolnix/PKGBUILD extra/php-apc/PKGBUILD extra/pulseaudio/PKGBUILD extra/pyqt/PKGBUILD extra/quota-tools/PKGBUILD extra/rhythmbox/PKGBUILD extra/virtuoso/PKGBUILD extra/vlc/PKGBUILD extra/xf86-video-siliconmotion/PKGBUILD kde-unstable/soprano/PKGBUILD libre/epdfview-libre/PKGBUILD libre/pacman/PKGBUILD multilib/lib32-libpulse/PKGBUILD multilib/wine/PKGBUILD multilib/zsnes/PKGBUILD testing/bash/PKGBUILD testing/bison/PKGBUILD testing/dbus-core/PKGBUILD testing/dbus/PKGBUILD testing/readline/PKGBUILD testing/systemd/PKGBUILD
Diffstat (limited to 'community/fbreader')
-rw-r--r--community/fbreader/PKGBUILD27
1 files changed, 11 insertions, 16 deletions
diff --git a/community/fbreader/PKGBUILD b/community/fbreader/PKGBUILD
index 00165b1ff..66ab4a777 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' 'mips64el')
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
}