diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-11-19 18:23:17 +0100 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-11-19 18:23:17 +0100 |
commit | a1097a1b9780eee15731af93f81cf4c4c97f4346 (patch) | |
tree | ac5dd30fb87b194050ffe56e94a0512572b4dd62 | |
download | python-kconfiglib-a1097a1b9780eee15731af93f81cf4c4c97f4346.tar.xz |
Inital commit: v10.22.1
-rw-r--r-- | PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..7bb39cb --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +pkgname=python-kconfiglib +pkgver=10.22.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=() + +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/ulfalizer/Kconfiglib/archive/v${pkgver}.tar.gz") +sha512sums=('eef874b6349dad6d233898591f205b08cb06bcf60dd60127c8f499b941a5f358c5dc364627c88cd77f682eb3594189f5ddb9e6a81762c591370e9025743795c5') + +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 +} + |