summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJaja832016-04-27 10:20:34 +0200
committerLukas Fleischer2016-04-27 10:20:34 +0200
commit43800a3e6c018b6ee43ff0d8e2c1c5e49394488f (patch)
tree9809d967d670a25e53d47e3098597aa7c1ebf745 /PKGBUILD
downloadaur-43800a3e6c018b6ee43ff0d8e2c1c5e49394488f.tar.gz
Initial Release
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f0ae7ac600f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Jaja83 <arch_me@keemail.me>
+#
+
+pkgname=languagetool-ngrams-he
+pkgver=20150916
+pkgrel=1
+pkgdesc="Finding errors using n-gram data, hebrew text"
+arch=('any')
+url="http://wiki.languagetool.org/finding-errors-using-n-gram-data"
+license=('LGPL')
+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::"http://languagetool.org/download/ngram-data/untested/ngram-he-${pkgver}.zip")
+noextract=(${pkgname}-${pkgver}.zip)
+md5sums=('SKIP')
+
+prepare() {
+ echo ''
+ echo 'Warning:'
+ echo '· Footage is about 0.4G in size!'
+ echo '· Make sure you have a _fast_ disk serving /usr/share, i.e. an SSD. Without an SSD, using this data can make LanguageTool much slower.'
+ echo '· Because of this honorable size, compressing this package literally take hours. Make sure to disable compression entirely – at least make use of xz SMP feature. See makepkg wiki page for details …'
+ echo '· Also because of size, you may run out of memory if you use tmpfs aware aur helpers. You are better of not using tmpfs for this one and manually install this Package with "makepkg -s; sudo pacman -U languagetool-ngrams-*" on a spinning-disk based dir.'
+ echo ''
+}
+
+package() {
+ install -d "${pkgdir}"/usr/share/ngrams
+ unzip -q "${srcdir}"/${pkgname}-${pkgver}.zip -d "${pkgdir}"/usr/share/ngrams
+}