Date: Tuesday, November 30, 2021 @ 20:22:35 Author: foutrelis Revision: 1058140
archrelease: copy trunk to community-staging-any Added: python-json5/repos/community-staging-any/ python-json5/repos/community-staging-any/PKGBUILD (from rev 1058139, python-json5/trunk/PKGBUILD) ----------+ PKGBUILD | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) Copied: python-json5/repos/community-staging-any/PKGBUILD (from rev 1058139, python-json5/trunk/PKGBUILD) =================================================================== --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2021-11-30 20:22:35 UTC (rev 1058140) @@ -0,0 +1,25 @@ +# Maintainer: Antonio Rojas <aro...@archlinux.org> + +pkgname=python-json5 +pkgver=0.9.6 +pkgrel=2 +pkgdesc='A Python implementation of the JSON5 data format' +arch=(any) +url='https://pypi.org/project/json5/' +license=(MPL GPL LGPL) +depends=(python) +makedepends=(python-setuptools) +source=(https://github.com/dpranke/pyjson5/archive/v$pkgver/$pkgname-$pkgver.tar.gz) +sha256sums=('eeb5e7d77b095dbfeae2e00c7df80ac8064994b33c5c36982f504c5c17c77a8c') + +build() { + cd pyjson5-$pkgver + + python setup.py build +} + +package() { + cd pyjson5-$pkgver + + python setup.py install --prefix=/usr --root="$pkgdir" --skip-build --optimize=1 +}