# # Chakra Packages for Chakra, part of chakra-project.org # # maintainer (i686): Phil Miller # maintainer (x86_64): Manuel Tortosa # include global config source ../_buildscripts/${current_repo}-${_arch}-cfg.conf pkgname=sword pkgver=1.6.2 pkgrel=1 pkgdesc="SWORD libraries for Bible programs" arch=('i686' 'x86_64') 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 || return 1 make || return 1 } package() { cd ${srcdir}/${pkgname}-${pkgver} make DESTDIR=${pkgdir} install || return 1 make DESTDIR=${pkgdir} install_config || return 1 }