summaryrefslogtreecommitdiff
path: root/~smv/xiphos-svn/PKGBUILD
blob: c040021bde27ec5638f2bc2a7216cecacec0b977 (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
# Contributor (Arch): Stefan Husmann <stefan-husmann@t-online.de>
# Maintainer: Sorin-Mihai Vârgolici <smv@ceata.org>
pkgname=xiphos-svn
pkgver=4482
pkgrel=1
pkgdesc="A Bible study tool -- svn version"
arch=('i686' 'x86_64' 'mips64el')
url="http://xiphos.org"
license=('GPL')
depends=('webkitgtk' 'libgsf' 'gconf' 'sword-svn' 'gtkhtml4')
makedepends=('gnome-common' 'gnome-doc-utils' 'intltool' 'subversion')
provides=('gnomesword' 'xiphos')
conflicts=('gnomesword' 'xiphos')
install=xiphos-svn.install
source=('xiphos::svn://svn.code.sf.net/p/gnomesword/code/trunk')
md5sums=('SKIP')
_svnmod=xiphos

pkgver() {
  cd $SRCDEST/${_svnmod}
  svnversion
}

build() {
  cd "$srcdir/$_svnmod"
  sed -i 's+/usr/bin/env python+/usr/bin/env python2+' waf

  ./waf --prefix=/usr --gtk=3 configure 
  ./waf --prefix=/usr build 
}

package() {
  cd "$srcdir/$_svnmod"
  ./waf --destdir=$pkgdir --no-post-install install 
}