aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/xiphos/APKBUILD
blob: a0dfa9d2cddf885c88350a3b90950d2ea89875fd (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
44
45
# Contributor: Isaac Dunham <ibid.ag@gmail.com>
# Maintainer: Isaac Dunham <ibid.ag@gmail.com>
pkgname=xiphos
pkgver=4.0.4
pkgrel=0
_pkgex="-20150830"
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 biblesync-dev"
install=""
subpackages="$pkgname-doc $pkgname-lang"
source="http://downloads.sourceforge.net/gnomesword/xiphos-$pkgver$_pkgex.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="a1d88b7d6812fd261d71a229999c669d  xiphos-4.0.4-20150830.tar.gz"
sha256sums="413bb8acb444946ccde1fb9fcfa3ff4bdb622cb56995b557f3215fab42193f20  xiphos-4.0.4-20150830.tar.gz"
sha512sums="337503ee4cc6139ec8724266f3c9c0ce5d17518c48f7aab03ea8213165054854c8dd7317ff9e1b9097ece12292b52f1c8002684c00c5a7b43c5b4810edd6ecda  xiphos-4.0.4-20150830.tar.gz"