# Maintainer: Mark Wagie pkgname=python-clickgen _name=${pkgname#python-} pkgver=2.1.9 pkgrel=1 pkgdesc="X11 & Windows cursor building API" arch=('any') url="https://github.com/ful1e5/clickgen" license=('MIT') depends=('python-attrs' 'python-numpy' 'python-pillow' 'python-toml' 'python-yaml') makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel') source=("$_name-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz") sha256sums=('6eee41e29390b5805916231d662a94e071cb4217d6174027436ed69fc22760cf') build() { cd "$_name-$pkgver" python -m build --wheel --no-isolation } package() { cd "$_name-$pkgver" python -m installer --destdir="$pkgdir" dist/*.whl install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/" }