blob: e65a3dee0a3bc5631deaae4de1b7f363f68dcad3 (
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.6
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=('84eeed39600159a62804aacfc00e353edeaae67d8c647ccaaab73a6efed3f605')
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}"
}
|