diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 15 |
1 files changed, 10 insertions, 5 deletions
@@ -1,18 +1,23 @@ # Maintainer: Ellis Kenyo <me at elken dot dev> pkgname=python-xxh -pkgver=0.8.12 +pkgver=0.8.13 pkgrel=1 pkgdesc="Take your shell with you!" arch=('x86_64') url="https://pypi.org/project/xxh-xxh/" -depends=('python' 'python-pexpect' 'python-setuptools' 'python-yaml') -makedepends=() +depends=('python' 'python-pexpect' 'python-yaml') +makedepends=("python-build" "python-installer" "python-wheel") license=('BSD') source=($pkgname-$pkgver::https://github.com/xxh/xxh/archive/refs/tags/$pkgver.zip) -md5sums=('63b834948c02976d82055218b41d3612') +md5sums=('a540a8553927f2327fc4454c71a673c7') + +build() { + cd "$srcdir"/$(echo $pkgname | cut -d- -f2)-$pkgver + python -m build --wheel --no-isolation +} package() { cd "$srcdir"/$(echo $pkgname | cut -d- -f2)-$pkgver - python setup.py install --root="$pkgdir" + python -m installer --destdir="$pkgdir" dist/*.whl } |