summaryrefslogtreecommitdiff
path: root/pcr/sword-svn/PKGBUILD
diff options
context:
space:
mode:
authorShackra Sislock <jorgean@lavabit.com>2013-05-31 00:38:53 -0600
committerShackra Sislock <jorgean@lavabit.com>2013-05-31 00:38:53 -0600
commit5f6206c30467c345c9415f4363e405714f77a5de (patch)
treea71c725922fe736f178ee985a0a09ab82991fee6 /pcr/sword-svn/PKGBUILD
parent475b01fc789b4ee29dab78435c2b6a06d4ed5979 (diff)
adding sword
Diffstat (limited to 'pcr/sword-svn/PKGBUILD')
-rw-r--r--pcr/sword-svn/PKGBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/pcr/sword-svn/PKGBUILD b/pcr/sword-svn/PKGBUILD
new file mode 100644
index 000000000..8e29cdab8
--- /dev/null
+++ b/pcr/sword-svn/PKGBUILD
@@ -0,0 +1,39 @@
+# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
+pkgname=sword-svn
+pkgver=2793
+pkgrel=1
+pkgdesc="Libraries for Bible programs - svn -version"
+arch=('i686' 'x86_64')
+url="http://www.crosswire.org/sword/"
+license=('GPL')
+depends=('curl' 'clucene' 'swig')
+makedepends=('subversion')
+provides=('sword')
+conflicts=('sword')
+source=('sword::svn+https://www.crosswire.org/svn/sword/trunk/' 'automake.patch')
+md5sums=('SKIP' '24a4821088da78725b9374807d0d3508')
+options=('!makeflags')
+_svnmod=sword
+
+pkgver() {
+ cd $SRCDEST/${_svnmod}
+ svnversion
+}
+
+prepare() {
+ cd "$srcdir/$_svnmod"
+ patch -p1 < $srcdir/automake.patch
+}
+
+build() {
+ cd "$srcdir/$_svnmod"
+ ./autogen.sh
+ CPPFLAGS+="-fpermissive" ./configure --prefix=/usr --libdir=/usr/lib --sysconfdir=/etc
+ make
+}
+
+package() {
+ cd "$srcdir/$_svnmod"
+ make DESTDIR="$pkgdir/" install
+ make DESTDIR="$pkgdir/" install_config
+}