summaryrefslogtreecommitdiff
path: root/community/xiphos/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/xiphos/PKGBUILD')
-rwxr-xr-xcommunity/xiphos/PKGBUILD18
1 files changed, 11 insertions, 7 deletions
diff --git a/community/xiphos/PKGBUILD b/community/xiphos/PKGBUILD
index cb3864be4..02df2e76d 100755
--- a/community/xiphos/PKGBUILD
+++ b/community/xiphos/PKGBUILD
@@ -1,11 +1,12 @@
-# $Id: PKGBUILD 60197 2011-12-07 12:42:03Z arodseth $
+# $Id: PKGBUILD 65313 2012-02-20 22:49:22Z arodseth $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Andrea Scarpino
# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
# Contributor: TripleE <eric1548@yahoo.com>
+
pkgname=xiphos
-pkgver=3.1.4
-pkgrel=9
+pkgver=3.1.5
+pkgrel=1
pkgdesc="Bible study tool for GTK+"
arch=('x86_64' 'i686' 'mips64el')
url="http://xiphos.org/"
@@ -16,15 +17,18 @@ conflicts=('gnomesword')
provides=('gnomesword')
replaces=('gnomesword')
install=xiphos.install
-source=("http://downloads.sourceforge.net/gnomesword/$pkgname-$pkgver.tar.gz")
-md5sums=('4d6f7805c4c8185f5c4ac3bd95fc705a')
+source=("http://downloads.sourceforge.net/gnomesword/$pkgname-$pkgver.tar.gz"
+ "$pkgname.patch")
+sha256sums=('568474d9060979ad1140dbf0eae13e46890a268bfa06d600ded5917ba6674bc2'
+ 'd9cdbb2de7108e2d4e49960c0c54470bc34176cb5035e14af53400c6a823ef60')
build() {
cd "$srcdir/$pkgname-$pkgver"
sed -i '0,/on/s//on2/' waf
- ./waf configure --prefix=/usr --enable-gtkhtml
- ./waf build --prefix=/usr
+ patch -p0 -i "$srcdir/$pkgname.patch"
+ CXXFLAGS+=" -DNO_SWORD_SET_RENDER_NOTE_NUMBERS=1" ./waf configure --prefix=/usr --enable-gtkhtml
+ ./waf build --prefix=/usr
}
package() {