1 # Maintainer: Maxime Gauduin <alucryd@archlinux.org>
2 # Contributor: Thomas Jost <schnouki@schnouki.net>
3 # Contributor: Andrey Mikhaylenko <neithere@gmail.com>
8 pkgdesc='A Python slugify application that handles unicode'
10 url=https://github.com/un33k/python-slugify
12 depends=(python-text-unidecode)
17 optdepends=('python-unidecode: Unidecode support')
18 _tag=58031becacdc8945393ddf628e84a6785cd08066
19 source=(git+https://github.com/un33k/python-slugify.git#tag=${_tag})
25 git describe --tags | sed 's/^v//;s/-/+/g'
37 python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
38 install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-slugify/