# Maintainer: mark.blakeney at bullet-systems dot net pkgname=edir pkgver=2.29 pkgrel=1 pkgdesc="Program to rename, remove, and copy files and directories using your editor" url="https://github.com/bulletmark/$pkgname" license=("GPL3") arch=("any") depends=("python>=3.8" "python-platformdirs") makedepends=(python-setuptools python-build python-installer python-wheel python-setuptools-scm) source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz") sha1sums=('e2e169553b27aeab7e6817c773f5c5691f534ff5') build() { cd "$srcdir/$pkgname-$pkgver" SETUPTOOLS_SCM_PRETEND_VERSION="$pkgver" python -m build --wheel --no-isolation } package() { cd "$srcdir/$pkgname-$pkgver" python -m installer --destdir="$pkgdir" dist/*.whl } # vim:set ts=2 sw=2 et: