Move from setup.py to pyproject.toml

This commit is contained in:
Fabrice Mouhartem 2023-12-28 21:02:07 +01:00
parent 5613b1b470
commit 3e1b3f0d5c

View File

@ -4,7 +4,7 @@
# (https://aur.archlinux.org/packages/fanficfare-git)
_pkgname=kalamine
pkgname=kalamine-git
pkgver=r75.56b4e79
pkgver=r76.489249f
pkgrel=1
pkgdesc="A text-based, cross-platform Keyboard Layout Maker."
arch=('any')
@ -35,11 +35,11 @@ pkgver() {
build() {
cd "$srcdir/${_pkgname}"
python setup.py build
python -m build
}
package() {
cd "$srcdir/${_pkgname}"
python setup.py install --root="$pkgdir" --optimize=1
python -m installer --destdir="${pkgdir}" dist/*.whl
}