summaryrefslogtreecommitdiff
path: root/pcr/xiphos-svn/PKGBUILD
diff options
context:
space:
mode:
authorGaming4JC <g4jc@openmailbox.org>2015-08-02 09:55:18 -0400
committerGaming4JC <g4jc@openmailbox.org>2015-08-02 09:55:18 -0400
commit852f30883ddcdaf03b5eb8c6e78f6710c50ee363 (patch)
treef8a51ece544a0e1fa53484d3f4401ee2f6dd35aa /pcr/xiphos-svn/PKGBUILD
parent0f4ad68dd632a97fdcd916759b73be18d4352245 (diff)
downloadabslibre-852f30883ddcdaf03b5eb8c6e78f6710c50ee363.tar.gz
abslibre-852f30883ddcdaf03b5eb8c6e78f6710c50ee363.tar.bz2
abslibre-852f30883ddcdaf03b5eb8c6e78f6710c50ee363.zip
add xiphos
Diffstat (limited to 'pcr/xiphos-svn/PKGBUILD')
-rw-r--r--pcr/xiphos-svn/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/pcr/xiphos-svn/PKGBUILD b/pcr/xiphos-svn/PKGBUILD
new file mode 100644
index 000000000..255369b3c
--- /dev/null
+++ b/pcr/xiphos-svn/PKGBUILD
@@ -0,0 +1,35 @@
+# Maintainer: Luke R. <g4jc@openmailbox.org> GPG: rsa4096/3EAE8697
+# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
+
+pkgname=xiphos-svn
+pkgver=4911
+pkgrel=1
+pkgdesc="A Bible study tool -- svn version"
+arch=('i686' 'x86_64')
+url="http://xiphos.org"
+license=('GPL')
+depends=('webkitgtk' 'libgsf' 'gconf' 'sword' 'gtkhtml4' 'biblesync')
+makedepends=('gnome-common' 'gnome-doc-utils' 'intltool' 'subversion')
+provides=('gnomesword' 'xiphos')
+conflicts=('gnomesword' 'xiphos')
+install=xiphos-svn.install
+source=('xiphos::svn://svn.code.sf.net/p/gnomesword/code/trunk')
+md5sums=('SKIP')
+_svnmod=xiphos
+
+pkgver() {
+ cd "$srcdir/${_svnmod}"
+ local ver="$(svnversion)"
+ printf "%s" "${ver//[[:alpha:]]}"
+}
+
+build() {
+ cd "$srcdir/$_svnmod"
+ CXX=g++ python2 ./waf --prefix=/usr configure
+LANG=C python2 ./waf --prefix=/usr build
+}
+
+package() {
+ cd "$srcdir/$_svnmod"
+ python2 ./waf --destdir=$pkgdir --no-post-install install
+}