summaryrefslogtreecommitdiff
path: root/community/xiphos/PKGBUILD
blob: 66db90eafe46757d974ad6a12b30de33e9a5775a (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' 'mips64el')
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: