summaryrefslogtreecommitdiff
path: root/pcr/bibletime/PKGBUILD
blob: 3a2941623e17c9ffaf2ca43d51e457ecbe042bc5 (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
31
32
33
34
35
36
37
38
39
# Maintainer: SanskritFritz (gmail)
# Contributor: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Tobias T. <OldShatterhand at gmx-topmail dot de>

pkgname=bibletime
pkgver=2.9.2
pkgrel=10
pkgdesc="Bible study tool for KDE4"
arch=('x86_64' 'i686')
url="http://www.bibletime.info/"
license=('GPL2')
depends=('sword' 'openssl' 'clucene' 'qtwebkit')
makedepends=('cmake')
install=$pkgname.install
source=("http://sourceforge.net/projects/$pkgname/files/$pkgname-$pkgver.tar.bz2")

build() {
	cd "$srcdir/$pkgname-$pkgver"

	CXXFLAGS+=" -fpermissive"

#	rm CMakeCache.txt
	cmake \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_BUILD_TYPE=Release \
		-DQT_QMAKE_EXECUTABLE=qmake4 \
		-DBT_FORCE_USE_QT4=TRUE \
		"$srcdir/$pkgname-$pkgver"
	make
}

package() {
	cd "$srcdir/$pkgname-$pkgver"

	make DESTDIR="$pkgdir" install
}

# vim:set ts=2 sw=2 et:
sha256sums=('393c77419b0514645cf2417f52d37bdbd604f8eeb37e76355e14c38d896093c8')