Date: Tuesday, November 30, 2021 @ 20:19:12 Author: felixonmars Revision: 1057995
archrelease: copy trunk to community-staging-any Added: python-unidecode/repos/community-staging-any/ python-unidecode/repos/community-staging-any/PKGBUILD (from rev 1057992, python-unidecode/trunk/PKGBUILD) ----------+ PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) Copied: python-unidecode/repos/community-staging-any/PKGBUILD (from rev 1057992, python-unidecode/trunk/PKGBUILD) =================================================================== --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2021-11-30 20:19:12 UTC (rev 1057995) @@ -0,0 +1,38 @@ +# Maintainer: Maxime Gauduin <aluc...@archlinux.org> +# Contributor: Kwpolska <kwpol...@kwpolska.tk> + +pkgname=python-unidecode +pkgver=1.3.2 +pkgrel=2 +pkgdesc='ASCII transliterations of Unicode text' +arch=(any) +url=https://github.com/avian2/unidecode +license=(GPL) +depends=(python) +makedepends=( + git + python-setuptools +) +_tag=1c74053bbbf5ce92bc1fc8faaf37e903aa90d011 +source=(git+https://github.com/avian2/unidecode.git#tag=${_tag}) +sha256sums=(SKIP) + +pkgver() { + cd unidecode + + git describe --tags | sed 's/^unidecode-//' +} + +build() { + cd unidecode + + python setup.py build +} + +package() { + cd unidecode + + python setup.py install --root="${pkgdir}" --optimize=1 --skip-build +} + +# vim: ts=2 sw=2 et: