diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -2,20 +2,20 @@ _pkgname=word_forms pkgname=python-$_pkgname-git -pkgver=r29.4e1d76f +pkgver=2.1.0.r1.g9f24160 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') +depends=('python-nltk' 'python-inflect' 'python-levenshtein') makedepends=('python-setuptools') source=("git+${url}.git") sha256sums=('SKIP') pkgver() { cd "$srcdir/$_pkgname" - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + git describe --tags --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } build() { |