summaryrefslogtreecommitdiff
path: root/community/fbreader/PKGBUILD
blob: 51568d8513d252832de0db6d7a5944c3fa7b8edd (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
# $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.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' 'qt' 'liblinebreak' 'sqlite')
makedepends=('ccache')
source=(http://www.fbreader.org/files/desktop/fbreader-sources-$pkgver.tgz)
md5sums=('2afbfa07dda09a979d5cf8797e2b648d')

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
  make ZLSHARED=no
  make ZLSHARED=no DESTDIR=$pkgdir install
}