|
@@ -0,0 +1,25 @@
|
|
|
+# Maintainer: greyltc
|
|
|
+# Contributor: txtsd <aur.archlinux@ihavea.quest>
|
|
|
+
|
|
|
+pkgname=python-pox
|
|
|
+pkgver=0.3.2
|
|
|
+pkgrel=1
|
|
|
+pkgdesc="utilities for filesystem exploration and automated builds"
|
|
|
+url="https://github.com/uqfoundation/pox"
|
|
|
+arch=(any)
|
|
|
+license=('BSD')
|
|
|
+depends=('python>=3.7')
|
|
|
+makedepends=('python-setuptools>=42.0' 'python-build' 'python-installer' 'python-wheel')
|
|
|
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/uqfoundation/pox/archive/refs/tags/pox-${pkgver}.tar.gz")
|
|
|
+sha256sums=('4a2573d7b64a4fe3c337b9d996d80089d0920c60d7920f94a4a2d14a8da8b202')
|
|
|
+
|
|
|
+build() {
|
|
|
+ cd "pox-pox-${pkgver}"
|
|
|
+ python -m build --wheel --no-isolation
|
|
|
+}
|
|
|
+
|
|
|
+package() {
|
|
|
+ cd "pox-pox-${pkgver}"
|
|
|
+ python -m installer --destdir="${pkgdir}" dist/*.whl
|
|
|
+ install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
|
|
+}
|