blob: cd51e608fdcfa0616c7c461b0ddfbd4c68abdbef (
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
|
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=sword-svn
pkgver=3484
pkgrel=1
pkgdesc="Libraries for Bible programs - svn-version"
arch=('i686' 'x86_64')
url="http://www.crosswire.org/sword/"
license=('GPL')
depends=('curl' 'clucene' 'xapian-core')
makedepends=('subversion')
provides=('sword')
conflicts=('sword')
source=('sword::svn+https://www.crosswire.org/svn/sword/trunk/')
sha256sums=('SKIP')
options=('!makeflags')
_svnmod=sword
pkgver() {
cd "${_svnmod}"
local ver="$(svnversion)"
printf "%s" "${ver//[[:alpha:]]}"
}
build() {
cd "$_svnmod"
./autogen.sh
./configure --prefix=/usr --libdir=/usr/lib --sysconfdir=/etc
make
}
package() {
cd "$_svnmod"
make DESTDIR="$pkgdir/" install
make DESTDIR="$pkgdir/" install_config
}
|