summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 436c39ea01b04c4db26bd70db2f15d48bb546961 (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
# Maintainer: Jaja <jaja@mailbox.org>
#

pkgname=languagetool-word2vec-de
pkgver=20180211
pkgrel=2
pkgdesc="Finding errors using neural network rules, german 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')
install=${pkgname}.install
source=(${pkgname}-${pkgver}.zip::"https://languagetool.org/download/word2vec/de.zip")
md5sums=('46bf12792ae3a8095e9e215a47a8cf02')
PKGEXT='.pkg.tar'
#LANG='C'
options=(!strip)

prepare() {
  echo ''
  echo 'Warning:'
  echo 'The install script will modify your configuration files in each home directory.'
  echo ''
}

package() {
  install -d "${pkgdir}"/usr/share/word2vec
  unlink "${srcdir}"/${pkgname}-${pkgver}.zip
  mv "${srcdir}"/* "${pkgdir}"/usr/share/word2vec/
}