pkgname=bibletime-kde4 origname=bibletime pkgver=2.10.1 pkgrel=1 pkgdesc="Bible software that uses the Sword Engine for KDE4" arch=('x86_64') url=("http://www.blog.bibletime.info") license=('GPL2') depends=('qtwebkit' 'sword' 'openssl' 'clucene') makedepends=('cmake') categories=('education') source=(http://sourceforge.net/projects/bibletime/files/bibletime-$pkgver.tar.xz) md5sums=('ef4d189d53fd1608c56f4827947ffcf0') build() { mkdir "$srcdir/$origname-$pkgver/build_dir" cd "$srcdir/$origname-$pkgver/build_dir" CXXFLAGS+=" -fpermissive" cmake -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DBT_FORCE_USE_QT4=TRUE \ .. make } package() { cd "$srcdir/$origname-$pkgver/build_dir" make DESTDIR="$pkgdir" install }