# Maintainer: Mark Wagie pkgname=python-clickgen _name=${pkgname#python-} pkgver=2.1.3 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') makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel') source=("$_name-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz") sha256sums=('a8b2b758b883cf0c83189dfd5802bbe2dbbe94208e8f8ea5aabf6c4e3d139014') 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/" }