diff options
author | Will Handley | 2022-06-07 20:57:55 +0100 |
---|---|---|
committer | Will Handley | 2022-06-07 20:57:55 +0100 |
commit | 07879e66c415a3024fd043200d6f7e24faf10348 (patch) | |
tree | 3f05f21c3da4cdde86fe5a9d0e3f8ec1d29b5e32 /PKGBUILD | |
parent | 6c4b3afad91032eaaaa20398d53601f7bd811ad7 (diff) | |
download | aur-07879e66c415a3024fd043200d6f7e24faf10348.tar.gz |
Updated to new build
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 20 |
1 files changed, 13 insertions, 7 deletions
@@ -1,8 +1,8 @@ # Maintainer: Will Handley <wh260@cam.ac.uk> (aur.archlinux.org/account/wjhandley) -_modulename=fgivenx -pkgname=python-$_modulename +pkgname=python-fgivenx +_name=${pkgname#python-} pkgver=2.4.0 -pkgrel=1 +pkgrel=2 pkgdesc="Functional Posterior Plotter" arch=(any) url="https://github.com/williamjameshandley/fgivenx" @@ -16,9 +16,15 @@ replaces=() backup=() options=(!emptydirs) install= -source=("${url}/archive/v${pkgver}.tar.gz") -sha256sums=('a42586754a0af5520d34eb8343ce8453996f9d0e391028268a3d2bf4347fd685') +source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz") +sha256sums=(c7111323fb98c6eef4efc44bade90961256b3068faf20f4c09f1678dc770d912) +build() { + cd "$srcdir/$_name-$pkgver" + python -m build --wheel --no-isolation +} + package() { - cd "$srcdir/$_modulename-$pkgver" - python setup.py install --root="$pkgdir/" --optimize=1 + cd "$srcdir/$_name-$pkgver" + python -m installer --destdir="$pkgdir" dist/*.whl } + |