blob: 167e70f1be272c8ce1c51ee483d5506bacedaaf6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Maintainer: Jaja <jaja@mailbox.org>
#
pkgname=languagetool-ngrams-de
pkgver=20150819
pkgrel=2
pkgdesc="Finding errors using n-gram data, german text"
arch=('any')
url="http://wiki.languagetool.org/finding-errors-using-n-gram-data"
license=('CCPL')
optdepends=('languagetool: system wide installation of LT'
'libreoffice-extension-languagetool: standalone LT for LibreOffice')
install=${pkgname}.install
source=(${pkgname}-${pkgver}.zip::"https://languagetool.org/download/ngram-data/ngrams-de-${pkgver}.zip")
md5sums=('f9c8bbd525198fdf8005eed763ceda25')
PKGEXT='.pkg.tar'
options=(!strip)
prepare() {
echo ''
echo 'Warning:'
echo '· This package requires about 3.1G to be available within /usr/share.'
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 size, you may run out of RAM if you use tmpfs aware aur helpers.'
echo '· The install script will modify your configuration files in each home directory.'
echo ''
}
package() {
install -d "${pkgdir}"/usr/share/ngrams
unlink "${srcdir}"/${pkgname}-${pkgver}.zip
mv "${srcdir}"/* "${pkgdir}"/usr/share/ngrams/
}
|