Date: Sunday, March 29, 2020 @ 22:57:55 Author: aginiewicz Revision: 606618
archrelease: copy trunk to community-x86_64 Added: python-unicodedata2/repos/community-x86_64/ python-unicodedata2/repos/community-x86_64/PKGBUILD (from rev 606616, python-unicodedata2/trunk/PKGBUILD) ----------+ PKGBUILD | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) Copied: python-unicodedata2/repos/community-x86_64/PKGBUILD (from rev 606616, python-unicodedata2/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2020-03-29 22:57:55 UTC (rev 606618) @@ -0,0 +1,27 @@ +# Maintainer: Andrzej Giniewicz <ggi...@gmail.com> +# Contributor: Guillaume Horel <guillaume.ho...@gmail.com +# Contributor: Philipp A. <flying-sh...@web.de> + +pkgname=python-unicodedata2 +pkgver=13.0.0.post2 +pkgrel=1 +pkgdesc="unicodedata backport/updates to Python 3" +arch=('x86_64') +url="https://github.com/mikekap/unicodedata2" +license=('Apache') +depends=('python') +makedepends=('python-setuptools') +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/mikekap/unicodedata2/archive/${pkgver/.post/-}.tar.gz") +sha256sums=('27141b225f84599b49429c5f9cd1ba7403c044102da78d4ac0e84cafdb62188f') + +build() { + cd "unicodedata2-${pkgver/.post/-}" + + python setup.py build +} + +package() { + cd "unicodedata2-${pkgver/.post/-}" + + python setup.py install --root="$pkgdir" --optimize=1 +}