pkgname=python-kconfiglib pkgver=13.1.1 pkgrel=1 pkgdesc="A flexible Python 2/3 Kconfig implementation and library" url="https://github.com/ulfalizer/Kconfiglib" license=('ISC') arch=("any") depends=('python') makedepends=('python-setuptools') source=("${pkgname}-${pkgver}.tar.gz::https://github.com/ulfalizer/Kconfiglib/archive/v${pkgver}.tar.gz") sha512sums=('e5d89390c741fb14c9faa9b66b74c04c58e146e36915dd1ec71536e2352902435c4ab4de6ff0f7bd4d849475686a247c4bd68f48e0d2ff41e0be4eb34ef48b4e') build() { cd $srcdir/Kconfiglib-$pkgver python3 setup.py build } check() { cd $srcdir/Kconfiglib-$pkgver python3 setup.py test } package() { cd $srcdir/Kconfiglib-$pkgver python3 setup.py install --root $pkgdir }