diff options
author | adrien1018 | 2019-10-16 13:10:49 +0800 |
---|---|---|
committer | adrien1018 | 2019-10-16 13:10:49 +0800 |
commit | ac252e79f28d65586b7dcd3ff7fd954c89d81090 (patch) | |
tree | e80066033c2874920edb15e0c665f542bdd2f184 | |
download | aur-ac252e79f28d65586b7dcd3ff7fd954c89d81090.tar.gz |
First commit
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 22 |
2 files changed, 35 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..f6e7e27f0181 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = python-polyglot + pkgdesc = A natural language pipeline that supports massive multilingual applications + pkgver = 16.7.4 + pkgrel = 1 + url = https://github.com/aboSamoor/polyglot + arch = any + makedepends = python-setuptools + provides = python-polyglot + source = https://files.pythonhosted.org/packages/source/p/polyglot/polyglot-16.7.4.tar.gz + sha256sums = f7d9cca9a212622548e9416fb89f1238b994b8860ef49e03b7c82c67f9b6269b + +pkgname = python-polyglot + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..4249b04e7fe0 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,22 @@ +# Maintainer: Adrien Wu <adrien.sf.wu@gmail.com> +pkgname=python-polyglot +pkgver=16.7.4 +pkgrel=1 +pkgdesc="A natural language pipeline that supports massive multilingual applications" +url="https://github.com/aboSamoor/polyglot" +arch=('any') +provides=('python-polyglot') +makedepends=('python-setuptools') +_name="${pkgname#python-}" +source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz") +sha256sums=('f7d9cca9a212622548e9416fb89f1238b994b8860ef49e03b7c82c67f9b6269b') + +build() { + cd "$srcdir/$_name-$pkgver" + python setup.py build +} + +package() { + cd "$srcdir/$_name-$pkgver" + python setup.py install --root="$pkgdir/" --optimize=1 --skip-build +} |