diff options
author | jdarch | 2015-08-03 20:59:00 +0200 |
---|---|---|
committer | jdarch | 2015-08-03 20:59:00 +0200 |
commit | 6c241cef0def09ab6feb889139ffd6fe904ee614 (patch) | |
tree | 31beefb47cdc60b51f536aa39c11f2a6ce023651 | |
download | aur-6c241cef0def09ab6feb889139ffd6fe904ee614.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..bb65803e8a7a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = apache-opennlp + pkgdesc = A machine learning based toolkit for the processing of natural language text + pkgver = 1.6.0 + pkgrel = 1 + url = http://opennlp.apache.org/ + arch = any + license = APACHE + depends = java-environment + depends = bash + source = http://www.apache.org/dist//opennlp/opennlp-1.6.0/apache-opennlp-1.6.0-bin.tar.gz + md5sums = 8fe90ccaf9b2ea16767893342e4c53ee + sha512sums = 0dd18f0efcf1cf0213da10c32f2dbbaddc163031e68a7167b1cc24c73d2fd11ee6b564f7a9cf1d4e405723a798992b67ed7a92f7882b068c84e516f32097e477 + +pkgname = apache-opennlp + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..74874dceb54b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: jdarch <jda -dot- cloud -plus- archlinux -at- gmail -dot- com> + +pkgname=apache-opennlp +pkgver=1.6.0 +pkgrel=1 +pkgdesc="A machine learning based toolkit for the processing of natural language text" +arch=(any) +url="http://opennlp.apache.org/" +license=('APACHE') +depends=(java-environment bash) + +source=(http://www.apache.org/dist//opennlp/opennlp-${pkgver}/${pkgname}-${pkgver}-bin.tar.gz) +md5sums=('8fe90ccaf9b2ea16767893342e4c53ee') +sha512sums=('0dd18f0efcf1cf0213da10c32f2dbbaddc163031e68a7167b1cc24c73d2fd11ee6b564f7a9cf1d4e405723a798992b67ed7a92f7882b068c84e516f32097e477') + +package() { + mkdir -p "${pkgdir}/usr/bin" + mkdir -p "${pkgdir}/usr/share/doc/opennlp" + mkdir -p "${pkgdir}/usr/lib/opennlp" + + sed "s/HOME\/lib\/opennlp/HOME\/lib\/opennlp\/opennlp/g" < "${srcdir}/${pkgname}-${pkgver}/bin/opennlp" > "${pkgdir}/usr/bin/opennlp" + cp "${srcdir}/${pkgname}-${pkgver}/RELEASE_NOTES.html" "${pkgdir}/usr/share/doc/opennlp" + cp -r "${srcdir}/${pkgname}-${pkgver}/docs/"* "${pkgdir}/usr/share/doc/opennlp" + cp -r "${srcdir}/${pkgname}-${pkgver}/lib/"* "${pkgdir}/usr/lib/opennlp" + chmod +x "${pkgdir}/usr/bin/opennlp" +} |