blob: 42d09c3bcc1c2569f6c441366adc723d642ae592 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Maintainer (Arch): 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
}
|