# Maintainer: Francesco Marinucci pkgname=sword pkgver=1.7.3 pkgrel=1 pkgdesc="SWORD libraries for Bible programs" arch=('x86_64') url="http://www.crosswire.org/sword/index.jsp" license=('GPL') depends=('curl' 'clucene' 'swig') makedepends=('cmake') backup=('etc/sword.conf') source=("http://www.crosswire.org/ftpmirror/pub/$pkgname/source/v$_mainver/$pkgname-$pkgver.tar.gz") md5sums=('bd2ffadaa9f92f7b6e657e323e27a028') #prepare() { # cd "$srcdir/$pkgname-$pkgver" # sed -i 's/OPTIONS="--without-conf/#OPTIONS="--without-conf/' usrinst.sh # sed -i 's/OPTIONS="--disable-shared/#OPTIONS="--disable-shared/' usrinst.sh #} build() { cd "$srcdir/$pkgname-$pkgver" ./configure --prefix=/usr --libdir=/usr/lib --sysconfdir=/etc make } package() { cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir" install mkdir --parents "$pkgdir/etc" make DESTDIR="$pkgdir" install_config }