blob: 2f3c89eda3fc32d4316bd91af57fd23009840d54 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Maintainer: greyltc
# Maintainer: txtsd <aur.archlinux@ihavea.quest>
pkgname=python-pox
_pkgname="${pkgname#python-}"
pkgver=0.3.5
pkgrel=1
pkgdesc='Utilities for filesystem exploration and automated builds'
url='https://github.com/uqfoundation/pox'
arch=(any)
license=('BSD-3-Clause')
depends=('python>=3.8')
makedepends=(
'python-setuptools>=42.0'
python-build
python-installer
python-wheel
)
_src_name="${_pkgname/-/_}-${pkgver}"
source=("${url}/releases/download/${pkgver}/${_pkgname}-${pkgver}.tar.gz")
sha256sums=('8120ee4c94e950e6e0483e050a4f0e56076e590ba0a9add19524c254bd23c2d1')
build() {
cd "${_src_name}"
python -m build --wheel --no-isolation
}
package() {
cd "${_src_name}"
python -m installer --destdir="${pkgdir}" dist/*.whl
install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
|