summaryrefslogtreecommitdiff
path: root/pcr/xiphos-svn/PKGBUILD
blob: f2f3a3c2f2c004c81cace592a173cd6de4b7b02a (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
# Maintainer: Luke R. <g4jc@openmailbox.org> GPG: rsa4096/3EAE8697
# Contributor: Stefan Husmann <stefan-husmann@t-online.de>

pkgname=xiphos-svn
pkgver=4935
pkgrel=1
pkgdesc="A Bible study tool -- svn version"
arch=('i686' 'x86_64')
url="http://xiphos.org"
license=('GPL')
depends=('webkitgtk' 'libgsf' 'gconf' 'sword' 'gtkhtml4' 'biblesync')
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'
'xiphos-svn.install')
sha512sums=('SKIP'
'e37ad2108a4ef958ff84546fe4a92c6e6fcb6158aa0d57ada1d4001d39341d26213f0fbc37c302701a60b06c05b8387b36926706de92a18583dd22192f50364e')
_svnmod=xiphos

pkgver() {
  cd "$srcdir/${_svnmod}"
  local ver="$(svnversion)"
  printf "%s" "${ver//[[:alpha:]]}"
}

build() {
  cd "$srcdir/$_svnmod"
  CXX=g++ python2 ./waf --prefix=/usr configure 
  python2 ./waf --prefix=/usr build 
}

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