diff options
author | Márcio Alexandre Silva Delgado <coadde@lavabit.com> | 2013-05-31 16:42:29 -0300 |
---|---|---|
committer | Márcio Alexandre Silva Delgado <coadde@lavabit.com> | 2013-05-31 16:42:29 -0300 |
commit | 09f44b6c97a0331ed69393de9d682b79d5d2620e (patch) | |
tree | 86741a3672a6de75fbeed1bbf19f1c0c5734c0a5 /pcr/sword-svn/PKGBUILD | |
parent | 2d065a8d237bbc04912ac803a886f566406ce273 (diff) | |
parent | 2ac25104895a9f912a953b50900ddbc7427603af (diff) | |
download | abslibre-09f44b6c97a0331ed69393de9d682b79d5d2620e.tar.gz abslibre-09f44b6c97a0331ed69393de9d682b79d5d2620e.tar.bz2 abslibre-09f44b6c97a0331ed69393de9d682b79d5d2620e.zip |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/sword-svn/PKGBUILD')
-rw-r--r-- | pcr/sword-svn/PKGBUILD | 39 |
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 +} |