summaryrefslogtreecommitdiff
path: root/community/sword/PKGBUILD
blob: 30746deb344b2cdde281ac5755c033f38988fd4f (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
# Maintainer:  Stefan Husmann <stefan-husmann@t-online.de>
# Contributor: TripleE <eric1548@yahoo.com>

pkgname=sword
pkgver=1.6.2
pkgrel=2
pkgdesc="SWORD libraries for Bible programs"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.crosswire.org/sword/index.jsp"
license=('GPL')
depends=('curl' 'icu' 'clucene')
source=(http://www.crosswire.org/ftpmirror/pub/${pkgname}/source/v1.6/${pkgname}-${pkgver}.tar.gz)
md5sums=('a7dc4456e20e915fec46d774b690e305')
backup=('etc/sword.conf')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  ./configure --prefix=/usr --sysconfdir=/etc --with-icu 
  make 
}
package() {
  cd ${srcdir}/${pkgname}-${pkgver}
  make DESTDIR=${pkgdir} install
  make DESTDIR=${pkgdir} install_config
}