summaryrefslogtreecommitdiff
path: root/community-staging/sword/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community-staging/sword/PKGBUILD')
-rw-r--r--community-staging/sword/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/community-staging/sword/PKGBUILD b/community-staging/sword/PKGBUILD
new file mode 100644
index 000000000..0ad02180e
--- /dev/null
+++ b/community-staging/sword/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
+# Contributor: TripleE <eric1548@yahoo.com>
+
+pkgname=sword
+pkgver=1.6.2
+pkgrel=3
+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
+ make
+}
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ make DESTDIR="${pkgdir}" install_config
+}
+