aboutsummaryrefslogtreecommitdiffstats
path: root/testing/xiphos/APKBUILD
blob: 2fdaba7785c471f4cd57cb34ea3c459b848c3f7e (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
38
39
40
41
42
43
# Contributor: Isaac Dunham <ibid.ag@gmail.com>
# Maintainer: Isaac Dunham <ibid.ag@gmail.com>
pkgname=xiphos
pkgver=4.0.0
pkgrel=0
pkgdesc="Gnome application for Bible study"
url="https://sourceforge.net/projects/gnomesword"
arch="all"
license="GPL2"
depends=""
makedepends="webkitgtk-dev sword-dev gconf-dev libgsf-dev intltool gettext-dev
	rarian-dev desktop-file-utils gnome-doc-utils util-linux-dev
	linux-headers"
install=""
subpackages="$pkgname-doc $pkgname-lang"
source="http://downloads.sourceforge.net/gnomesword/xiphos-$pkgver.tar.gz"

_builddir="$srcdir"/xiphos-$pkgver
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	./waf configure --prefix=/usr --enable-webkit-editor --gtk=3 && \
	./waf build || return 1
}

package() {
	cd "$_builddir"
	DESTDIR="$pkgdir" ./waf install || return 1

}

md5sums="7305c368510574bd64d873daeb5354ee  xiphos-4.0.0.tar.gz"
sha256sums="c8408919f5d4847b9641a5ab52cf071adde42ff6c2c97b93532754ac2cec6966  xiphos-4.0.0.tar.gz"
sha512sums="0e8d70dc78be5ef9107307dcd28d756812212ee8e166cf0fdf1c1294617ccf0f1d119f36ab1b9d36f3de6e6ea538baf8cb6d36bc537afd4ff05d7fda44026352  xiphos-4.0.0.tar.gz"