# Maintainer: Dominic DiTaranto <me@domdit.com>
pkgname=atonatui
_name=atonatui
pkgver=0.1.2
pkgrel=1
pkgdesc="12 Tone Matrix Generator, Looper, Sequencer."
arch=('any')
url="https://git.domdit.com/dominic/atonatui"
license=('MIT')
depends=('python') 
makedepends=('python-build' 'python-installer' 'python-wheel' 'python-setuptools')
source=("https://pythonhosted.org{_name::1}/$_name/$_name-$pkgver.tar.gz")
sha256sums=('SKIP') 

build() {
    cd "$_name-$pkgver"
    python -m build --wheel --no-isolation
}

package() {
    cd "$_name-$pkgver"
    python -m installer --destdir="$pkgdir" dist/*.whl
    install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE.md"
}

