diff options
author | Márcio Alexandre Silva Delgado <coadde@lavabit.com> | 2013-07-17 05:19:48 -0300 |
---|---|---|
committer | Márcio Alexandre Silva Delgado <coadde@lavabit.com> | 2013-07-17 05:19:48 -0300 |
commit | 0a32dd5aab83123487e6988ec37e7e5385c3aef6 (patch) | |
tree | 760f093c15bf512361439acc7b998f04fdd0cb5b /~smv/sword-svn/PKGBUILD | |
parent | 7d3151cb257dcb2aeacf52bad5d96041677754a2 (diff) | |
parent | 201a3a8a986287b2f54d01e7c5e4bbeba8c37040 (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to '~smv/sword-svn/PKGBUILD')
-rw-r--r-- | ~smv/sword-svn/PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/~smv/sword-svn/PKGBUILD b/~smv/sword-svn/PKGBUILD new file mode 100644 index 000000000..b5ddc53f4 --- /dev/null +++ b/~smv/sword-svn/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Stefan Husmann <stefan-husmann@t-online.de> +# Maintainer (Parabola): Sorin-Mihai Vârgolici <smv@ceata.org> +pkgname=sword-svn +pkgver=2904 +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/') +md5sums=('SKIP') +options=('!makeflags') +_svnmod=sword + +pkgver() { + cd $SRCDEST/${_svnmod} + svnversion +} + +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 +} |