summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e3b23150a98149fc159c43628dbaee198e36c67f (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
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>

pkgname=xiphos-git
pkgver=r3924
pkgrel=1
pkgdesc="A Bible study tool -- git version"
arch=('i686' 'x86_64')
url="http://xiphos.org"
license=('GPL')
depends=('webkit2gtk' 'libgsf' 'gconf' 'sword' 'gtkhtml4' 'biblesync-git')
makedepends=('gnome-common' 'gnome-doc-utils' 'intltool' 'git' 'python2')
provides=('gnomesword' 'xiphos')
conflicts=('gnomesword' 'xiphos')
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 --enable-webkit2 configure 
  python2 ./waf --prefix=/usr --enable-webkit2 build 
}

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