# Contributor: Isaac Dunham # Maintainer: Isaac Dunham 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"