# Maintainer: mark.blakeney at bullet-systems dot net pkgname=b2restore pkgver=1.15 pkgrel=1 pkgdesc="Program to recreate Backblaze B2 file archive at specified date+time." url="https://github.com/bulletmark/$pkgname" license=("GPL3") arch=("any") depends=("python>=3.6") makedepends=(python-setuptools python-build python-installer python-wheel python-setuptools-scm) source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz") sha1sums=('d37fc3b78e279ec948a1c1705b6b21232c547097') 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: