summaryrefslogtreecommitdiff
path: root/pcr/xiphos-svn/PKGBUILD
blob: de5c22e30c6fe6c101fab0e4109a100311e6c61f (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=4911 
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'
'fab480ebc2bbae806045ee22bbacc8fe196895bbf5db0e8de086828fc65576af9c3d446779950e27f2f1568d4aa2d3530f14e0c9321f909d7ac853c7cbb3fc4a')
_svnmod=xiphos

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

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

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