summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1f850ab2fc83fc5b6f1b485806744fe91a0fc35f (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-pt
pkgver=20180211
pkgrel=2
pkgdesc="Finding errors using neural network rules, portuguese 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/pt.zip")
md5sums=('3808d92488f0d57f1884d8c5ce8aebad')
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/
}