summaryrefslogtreecommitdiff
path: root/pcr/bibletime
diff options
context:
space:
mode:
authorShackra Sislock <jorgean@lavabit.com>2013-07-04 21:52:02 -0600
committerShackra Sislock <jorgean@lavabit.com>2013-07-04 21:52:02 -0600
commitcd298e9e8d80d387472058ff4b089f0ee509d644 (patch)
treed00e711db4fa42f10698791204a1e64ba5611f3c /pcr/bibletime
parent64e1664807a6e37d4fdfc35d271028104b54c4a1 (diff)
parent91bd98130ae07e48bd945b0b87e51a117c29ad6f (diff)
downloadabslibre-cd298e9e8d80d387472058ff4b089f0ee509d644.tar.gz
abslibre-cd298e9e8d80d387472058ff4b089f0ee509d644.tar.bz2
abslibre-cd298e9e8d80d387472058ff4b089f0ee509d644.zip
updating my branches
Diffstat (limited to 'pcr/bibletime')
-rw-r--r--pcr/bibletime/PKGBUILD39
-rw-r--r--pcr/bibletime/bibletime.install13
2 files changed, 52 insertions, 0 deletions
diff --git a/pcr/bibletime/PKGBUILD b/pcr/bibletime/PKGBUILD
new file mode 100644
index 000000000..3a2941623
--- /dev/null
+++ b/pcr/bibletime/PKGBUILD
@@ -0,0 +1,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')
diff --git a/pcr/bibletime/bibletime.install b/pcr/bibletime/bibletime.install
new file mode 100644
index 000000000..ad97d7bab
--- /dev/null
+++ b/pcr/bibletime/bibletime.install
@@ -0,0 +1,13 @@
+post_upgrade() {
+ update-desktop-database -q
+}
+
+post_install() {
+ post_upgrade
+}
+
+post_remove() {
+ post_upgrade
+}
+
+# vim:set ts=2 sw=2 et: