desktop/bibletime-kde4/PKGBUILD

33 lines
747 B
Bash
Raw Normal View History

2010-08-01 08:20:02 +08:00
pkgname=bibletime-kde4
2015-03-15 21:42:21 +08:00
origname=bibletime
pkgver=2.10.1
pkgrel=1
2010-08-01 08:20:02 +08:00
pkgdesc="Bible software that uses the Sword Engine for KDE4"
arch=('x86_64')
2010-08-01 08:20:02 +08:00
url=("http://www.blog.bibletime.info")
license=('GPL2')
2015-03-15 21:42:21 +08:00
depends=('qtwebkit' 'sword' 'openssl' 'clucene')
makedepends=('cmake')
categories=('education')
2015-03-15 21:42:21 +08:00
source=(http://sourceforge.net/projects/bibletime/files/bibletime-$pkgver.tar.xz)
md5sums=('ef4d189d53fd1608c56f4827947ffcf0')
2010-08-01 08:20:02 +08:00
build() {
2015-03-15 21:42:21 +08:00
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() {
2015-03-15 21:42:21 +08:00
cd "$srcdir/$origname-$pkgver/build_dir"
make DESTDIR="$pkgdir" install
2010-08-01 08:20:02 +08:00
}
2010-12-28 04:24:44 +08:00