summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-17 04:55:21 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-17 04:55:21 +0000
commit3c205dcff57850b60d9fa6db527192cea0e5355e (patch)
tree57ee6cffb879685275025c8f4f0802220d97b48f /user
parentf068316b5ca1096aa633cad66a73198a70470daf (diff)
downloadpackages-3c205dcff57850b60d9fa6db527192cea0e5355e.tar.gz
packages-3c205dcff57850b60d9fa6db527192cea0e5355e.tar.bz2
packages-3c205dcff57850b60d9fa6db527192cea0e5355e.tar.xz
packages-3c205dcff57850b60d9fa6db527192cea0e5355e.zip
user/sword: new package
Diffstat (limited to 'user')
-rw-r--r--user/sword/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/user/sword/APKBUILD b/user/sword/APKBUILD
new file mode 100644
index 000000000..db3e5574f
--- /dev/null
+++ b/user/sword/APKBUILD
@@ -0,0 +1,38 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=sword
+pkgver=1.8.1
+pkgrel=0
+pkgdesc="Cross-platform library for accessing and searching OSIS books"
+url="http://www.crosswire.org/sword/index.jsp"
+arch="all"
+license="GPL-2.0-only AND LGPL-2.1+ AND zlib"
+depends=""
+makedepends="clucene-dev curl-dev icu-dev zlib-dev"
+subpackages="$pkgname-dev"
+source="http://crosswire.org/ftpmirror/pub/sword/source/v1.8/sword-$pkgver.tar.gz"
+
+build() {
+ cd "$builddir"
+ CPPFLAGS="$CPPFLAGS -DU_USING_ICU_NAMESPACE" ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+ make DESTDIR="$pkgdir" install_config
+}
+
+sha512sums="5c08c070ea0c86b7d929bbf94c89730eb5a487986deb9edf01c08d1710356aecd1ab3bde4437a778e5fc1ceb05b63287612ec6161381c0986a36344c27d2ab36 sword-1.8.1.tar.gz"