aboutsummaryrefslogtreecommitdiffstats
path: root/testing/xiphos/APKBUILD
blob: adea4af1d2df6c5cb228f24c21e3629eed8d5e7f (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
# Contributor: Isaac Dunham <ibid.ag@gmail.com>
# Maintainer: Isaac Dunham <ibid.ag@gmail.com>
pkgname=xiphos
pkgver=4.0.1
pkgrel=0
_pkgex="-20150330"
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="0b3fc83f7ba379d0a762fceaf1c9c11c  xiphos-4.0.1-20150330.tar.gz"
sha256sums="7f3063cd7cd75fa7ca170b127cda7f29034cc1e3f6fd44ef510dfcb07f5f9e94  xiphos-4.0.1-20150330.tar.gz"
sha512sums="269fcfdeafafd03d93b3c9f951463d4e1a4de424a0763c47f1684ff016654f5432e4e3946fc98736dff577ee420614f979cd784c3af5e5dde98175a577402400  xiphos-4.0.1-20150330.tar.gz"