diff options
author | Bet4 | 2020-08-05 19:33:35 +0800 |
---|---|---|
committer | Bet4 | 2020-08-05 19:33:35 +0800 |
commit | b1b702a06d4f97c7c02aaee684e979a6bedfe361 (patch) | |
tree | f828d829ad968893d4049673de045d119acc81c0 | |
download | aur-b1b702a06d4f97c7c02aaee684e979a6bedfe361.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..4bf0d90451ba --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = python-word_forms-git + pkgdesc = Accurately generate all possible forms of an English word + pkgver = 0.3.0 + pkgrel = 1 + url = https://github.com/gutfeeling/word_forms + arch = any + license = MIT + makedepends = python-setuptools + depends = python-nltk + depends = python-inflect + depends = python-unipath + source = git+https://github.com/gutfeeling/word_forms.git + sha256sums = SKIP + +pkgname = python-word_forms-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..e4252dccbad8 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Bet4 <bet4it@gmail.com> + +_pkgname=word_forms +pkgname=python-$_pkgname-git +pkgver=0.3.0 +pkgrel=1 +pkgdesc="Accurately generate all possible forms of an English word" +arch=('any') +url="https://github.com/gutfeeling/word_forms" +license=('MIT') +depends=('python-nltk' 'python-inflect' 'python-unipath') +makedepends=('python-setuptools') +source=("git+${url}.git") +sha256sums=('SKIP') + +build() { + cd "$srcdir/$_pkgname" + python setup.py build +} + +package() { + cd "$srcdir/$_pkgname" + python setup.py install --root=$pkgdir --optimize=1 --skip-build +}
\ No newline at end of file |