genson/PKGBUILD

20 lines
590 B
Bash
Raw Normal View History

2020-08-01 06:38:33 -04:00
# Maintainer: Philipp A. <flying-sheep@web.de>
_name=genson
pkgname=python-$_name
2021-12-19 08:35:15 -05:00
pkgver=1.2.2
2020-08-01 06:38:33 -04:00
pkgrel=1
pkgdesc='GenSON is a powerful, user-friendly JSON Schema generator.'
arch=(any)
url="https://github.com/wolverdude/$_name"
license=(MIT)
depends=(python)
makedepends=(python-setuptools)
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name//-/_}/${_name//-/_}-$pkgver.tar.gz")
2021-12-19 08:35:15 -05:00
sha256sums=('8caf69aa10af7aee0e1a1351d1d06801f4696e005f06cedef438635384346a16')
2020-08-01 06:38:33 -04:00
package() {
cd "$srcdir/${_name//-/_}-$pkgver"
python setup.py install --root="$pkgdir" --optimize=1
}