summaryrefslogtreecommitdiff
path: root/community/xiphos/PKGBUILD
blob: f40d6ab394003eb84cd292f4250f6e83659b3f96 (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
# $Id: PKGBUILD 66596 2012-02-26 13:44:26Z 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.5
pkgrel=2
pkgdesc="Bible study tool for GTK+"
arch=('x86_64' 'i686')
url="http://xiphos.org/"
license=('GPL')
depends=('libgsf' 'libglade' 'gtkhtml' 'sword')
makedepends=('gnome-doc-utils' 'intltool' 'python2')
conflicts=('gnomesword')
provides=('gnomesword')
replaces=('gnomesword')
install=xiphos.install
source=("http://downloads.sourceforge.net/gnomesword/$pkgname-$pkgver.tar.gz")
sha256sums=('2887426908e269f25d2d191be445112027b2b7e80356823d4942b1803a359d8c')

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

  sed -i '0,/on/s//on2/' waf
  CXXFLAGS+=" -DNO_SWORD_SET_RENDER_NOTE_NUMBERS=1" ./waf configure --prefix=/usr --enable-gtkhtml
  ./waf build --prefix=/usr
}

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

  GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 ./waf install --destdir="$pkgdir"
}

# vim:set ts=2 sw=2 et: