blob: 3cdb3e1e3de63a93974c75fbe81df6fc72f0aa2e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# $Id: PKGBUILD 63548 2012-02-05 11:55:20Z ibiru $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: William Rea <sillywilly@gmail.com>
pkgname=fbreader
pkgver=0.12.10
pkgrel=3
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')
build() {
export CPPFLAGS="-I/usr/include/cairo"
export TARGET_ARCH=desktop
export UI_TYPE=gtk
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
}
|