diff options
author | Jaja | 2019-03-10 22:35:05 +0100 |
---|---|---|
committer | Jaja | 2019-03-10 22:35:05 +0100 |
commit | bbbb601268cecc477c288625836377beb909a222 (patch) | |
tree | b2fd145b054245d4aeed85d608ab71eca9f7af71 | |
download | aur-bbbb601268cecc477c288625836377beb909a222.tar.gz |
Initial Release
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 26 | ||||
-rw-r--r-- | languagetool-word2vec-en.install | 5 |
3 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..03c4677067d5 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = languagetool-word2vec-en + pkgdesc = Finding errors using neural network rules, english text + pkgver = 20180211 + pkgrel = 1 + url = https://forum.languagetool.org/t/neural-network-rules/2225 + install = languagetool-word2vec-en.install + arch = any + license = CCPL + makedepends = unzip + optdepends = languagetool: system wide installation of LT + optdepends = libreoffice-extension-languagetool: standalone LT for LibreOffice + optdepends = openoffice-extension-languagetool: standalone LT for OpenOffice + noextract = languagetool-word2vec-en-20180211.zip + options = !strip + source = languagetool-word2vec-en-20180211.zip::https://languagetool.org/download/word2vec/en.zip + md5sums = be17427960f0999f4068e0ec257a4fda + +pkgname = languagetool-word2vec-en + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..e5ab986ed4c9 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Jaja <jaja@mailbox.org> +# + +pkgname=languagetool-word2vec-en +pkgver=20180211 +pkgrel=1 +pkgdesc="Finding errors using neural network rules, english text" +arch=('any') +url="https://forum.languagetool.org/t/neural-network-rules/2225" +license=('CCPL') +optdepends=('languagetool: system wide installation of LT' +'libreoffice-extension-languagetool: standalone LT for LibreOffice' +'openoffice-extension-languagetool: standalone LT for OpenOffice') +makedepends=('unzip') +install=${pkgname}.install +source=(${pkgname}-${pkgver}.zip::"https://languagetool.org/download/word2vec/en.zip") +noextract=(${pkgname}-${pkgver}.zip) +md5sums=('be17427960f0999f4068e0ec257a4fda') +PKGEXT='.pkg.tar' +LANG='C' +options=(!strip) + +package() { + install -d "${pkgdir}"/usr/share/word2vec + unzip -q "${srcdir}"/${pkgname}-${pkgver}.zip -d "${pkgdir}"/usr/share/word2vec +} diff --git a/languagetool-word2vec-en.install b/languagetool-word2vec-en.install new file mode 100644 index 000000000000..1183d01084a0 --- /dev/null +++ b/languagetool-word2vec-en.install @@ -0,0 +1,5 @@ +post_install() { + echo '' + echo 'Do not forget to add "word2vecDir=/usr/share/word2vec" in ~/.languagetool[-ooo].cfg or use LanguageTool GUI config to point to "/usr/share/word2vec"!' + echo '' +} |