summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorPopolon2020-11-25 12:58:28 +0100
committerPopolon2020-11-25 12:58:28 +0100
commit1486b641510417d9ac372166f1fd3a038b4bcf09 (patch)
tree4a3569345a602690be73c0bb2f632653ac6c4c27 /PKGBUILD
downloadaur-python-kconfiglib.tar.gz
initial commit, python-kconfiglib first version 14.1.0
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e31b1ee0754
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Popolon <popolon@popolon.org>
+
+pkgname=python-kconfiglib
+_name=kconfiglib
+_dir=Kconfiglib
+pkgver=14.1.0
+pkgrel=1
+pkgdesc="A flexible Python Kconfig implementation"
+arch=('any')
+url="https://pypi.org/project/kconfiglib/"
+license=('ISC License')
+makedepends=('python-setuptools' 'python2-setuptools')
+source=("https://github.com/ulfalizer/${_name}/archive/v${pkgver}.tar.gz")
+sha512sums=('929a75f9b9f74ad7d4190c15d7178b94ee0a6d1fb71d85e2942935e3a9370a4f2483d8b49123d41d6610841ad9efde1dc4c14fc5231a08379d438a486ed3f97c')
+
+build() {
+ cd "${srcdir}/${_dir}-${pkgver}"
+ python setup.py build
+}
+
+package() {
+ cd "${srcdir}/${_dir}-${pkgver}"
+ python setup.py install --skip-build --root="${pkgdir}" --optimize=1
+}