diff options
author | J. Nathanael Philipp | 2020-09-10 00:15:16 +0200 |
---|---|---|
committer | J. Nathanael Philipp | 2020-09-10 00:15:16 +0200 |
commit | 8b2de6784f5a811d4684d501960830504e09526b (patch) | |
tree | f3ae00107f39e937a8c0b45d0d9f7f95e5b7223b /PKGBUILD | |
download | aur-8b2de6784f5a811d4684d501960830504e09526b.tar.gz |
Init.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..17fb1b712464 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: J. Nathanael Philipp (jnphilipp) <nathanael@philipp.land> + +pkgname=python-spacy-de_core_news_sm +pkgver=2.3.0 +pkgrel=1 +pkgdesc="German multi-task CNN trained on the TIGER and WikiNER corpora. Assigns context-specific token vectors, POS tags, dependency parses and named entities." +url="https://spacy.io/models/de#de_core_news_sm" +depends=('python-spacy') +makedepends=('python-setuptools') +license=('MIT') +arch=(any) +source=("https://github.com/explosion/spacy-models/releases/download/de_core_news_sm-${pkgver}/de_core_news_sm-${pkgver}.tar.gz") +sha256sums=('87fe081677c54615b8f5b3e701b8279c929dc9b5ed2aed1545e2494b5cae8b01') + +build() { + cd de_core_news_sm-${pkgver} + python setup.py build +} + +package() { + cd de_core_news_sm-${pkgver} + python setup.py install --root="$pkgdir/" --optimize=1 --skip-build +} |