blob: 8e13c3831f69df2a3d516185e8ee61324fa1fd17 (
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
|
# $Id: PKGBUILD 74589 2012-07-31 10:03:32Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: William Rea <sillywilly@gmail.com>
pkgname=fbreader
pkgver=0.99.1
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' 'qt' 'liblinebreak' 'sqlite')
makedepends=('ccache')
source=(http://www.fbreader.org/files/desktop/fbreader-sources-$pkgver.tgz)
md5sums=('af424a825e091bb33b65c04882c0b93a')
build() {
export TARGET_ARCH=desktop
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 DESTDIR=$pkgdir install
}
|