summaryrefslogtreecommitdiff
path: root/~smv/xiphos-svn/PKGBUILD
diff options
context:
space:
mode:
authorSorin-Mihai Vârgolici <smv@ceata.org>2013-07-17 05:10:00 +0300
committerSorin-Mihai Vârgolici <smv@ceata.org>2013-07-17 05:10:00 +0300
commit11a1ca3ecd47510d457e103c17398b327555866e (patch)
treef56691690416458365aa5e2a2dbadd0021ba5743 /~smv/xiphos-svn/PKGBUILD
parent0ae0a864efad1e79e4737306cee8920ae92af29a (diff)
Took the sword-svn and xiphos svn tarbals from AUR, updated and made some changes.
Diffstat (limited to '~smv/xiphos-svn/PKGBUILD')
-rw-r--r--~smv/xiphos-svn/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/~smv/xiphos-svn/PKGBUILD b/~smv/xiphos-svn/PKGBUILD
new file mode 100644
index 000000000..699990fec
--- /dev/null
+++ b/~smv/xiphos-svn/PKGBUILD
@@ -0,0 +1,35 @@
+# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
+# Maintainer (Parabola): Sorin-Mihai Vârgolici <smv@ceata.org>
+pkgname=xiphos-svn
+pkgver=4482
+pkgrel=1
+pkgdesc="A Bible study tool -- svn version"
+arch=('i686' 'x86_64')
+url="http://xiphos.org"
+license=('GPL')
+depends=('webkitgtk' 'libgsf' 'gconf' 'sword-svn' 'gtkhtml4')
+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 $SRCDEST/${_svnmod}
+ svnversion
+}
+
+build() {
+ cd "$srcdir/$_svnmod"
+ sed -i 's+/usr/bin/env python+/usr/bin/env python2+' waf
+
+ ./waf --prefix=/usr --gtk=3 configure
+ ./waf --prefix=/usr build
+}
+
+package() {
+ cd "$srcdir/$_svnmod"
+ ./waf --destdir=$pkgdir --no-post-install install
+}