Date: Thursday, April 6, 2023 @ 13:52:46
  Author: felixonmars
Revision: 1439048

archrelease: copy trunk to community-staging-any

Added:
  python-unidecode/repos/community-staging-any/
  python-unidecode/repos/community-staging-any/PKGBUILD
    (from rev 1439045, python-unidecode/trunk/PKGBUILD)

----------+
 PKGBUILD |   38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

Copied: python-unidecode/repos/community-staging-any/PKGBUILD (from rev 
1439045, python-unidecode/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-06 13:52:46 UTC (rev 1439048)
@@ -0,0 +1,38 @@
+# Maintainer: Maxime Gauduin <[email protected]>
+# Contributor: Kwpolska <[email protected]>
+
+pkgname=python-unidecode
+pkgver=1.3.6
+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=414199246e4871669896756279e3460ff0364839
+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:

Reply via email to