diff options
author | Gaming4JC <g4jc@openmailbox.org> | 2015-08-02 09:55:18 -0400 |
---|---|---|
committer | Gaming4JC <g4jc@openmailbox.org> | 2015-08-02 09:55:18 -0400 |
commit | 852f30883ddcdaf03b5eb8c6e78f6710c50ee363 (patch) | |
tree | f8a51ece544a0e1fa53484d3f4401ee2f6dd35aa | |
parent | 0f4ad68dd632a97fdcd916759b73be18d4352245 (diff) |
add xiphos
-rw-r--r-- | pcr/xiphos-svn/PKGBUILD | 35 |
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 +} |