updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / coolreader3 / PKGBUILD
blob64ff4fd50f793d033a87f648b7a1898453e0b8b8
1 # Contributor: vbPadre <vbpadre@gmail.com>
3 pkgname=coolreader3
4 pkgver=3.0.43
5 pkgrel=1
6 pkgdesc="E-book reader for Linux"
7 arch=('i686' 'x86_64')
8 url="http://coolreader.org/"
9 license=('gpl')
10 depends=('zlib' 'libpng' 'libjpeg' 'freetype2' 'qt>=4')
11 makedepends=('cmake')
12 source=('http://sourceforge.net/projects/crengine/files/CoolReader3/cr3-3.0.43/cr3_3.0.43.orig.tar.gz')
13 md5sums=('642be7de85591e7f9c8eb17aae46d810')
15 build() {
17 cd $srcdir/cr3-$pkgver
18 mkdir $srcdir/cr3-$pkgver/qtbuild
19 cd $srcdir/cr3-$pkgver/qtbuild
20 cmake -D GUI=QT -D CMAKE_BUILD_TYPE=Release  -D CMAKE_INSTALL_PREFIX=/usr ..
21 make
22 make install DESTDIR=$pkgdir