diff options
author | Michał Wojdyła | 2023-12-10 16:30:36 +0100 |
---|---|---|
committer | Michał Wojdyła | 2023-12-10 16:30:36 +0100 |
commit | 625bb9b4f3766ff908c384bd78db573b5bb11abc (patch) | |
tree | bc1a7a6e9fe00e9bb4b08fbd03b5c5021cd1f891 /PKGBUILD | |
parent | 410057005882855e208e20dc0a8b7ac274f88a78 (diff) | |
download | aur-piston-cli.tar.gz |
fix build
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -5,7 +5,7 @@ pkgname=piston-cli pkgver=1.5.0 -pkgrel=1 +pkgrel=2 pkgdesc="A universal shell supporting 36+ languages, in terminal code editor with syntax highlight, code compiler (36+ languages). It can run code from pastebin links and files too. " arch=('any') url="https://github.com/Shivansh-007/piston-cli" @@ -19,6 +19,9 @@ depends=( makedepends=( 'git' 'python-setuptools' + 'python-build' + 'python-poetry-core' + 'python-installer' ) optdepends=() provides=('piston-cli') @@ -28,12 +31,12 @@ sha256sums=('SKIP') build() { cd $(ls | grep piston-cli-) - python setup.py build + python -m build --wheel --no-isolation } package() { cd $(ls | grep piston-cli-) - python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build + python -m installer --destdir="$pkgdir" dist/*.whl install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } |