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

pkgname=xiphos-git
pkgver=r3906
pkgrel=1
pkgdesc="A Bible study tool -- git 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' 'git')
provides=('gnomesword' 'xiphos')
conflicts=('gnomesword' 'xiphos' 'xiphos-svn')
install=$pkgname.install
source=(git+https://github.com/crosswire/xiphos.git)
md5sums=('SKIP')
_gitname=xiphos

pkgver() {
  cd "$_gitname"
  printf "r%s" $(git rev-list --count HEAD)
}

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

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