summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3d1f78bc334582366d1858667e83f10427774ecf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Maintainer: Andrew Shark <ashark at linuxcomp dot ru>

pkgname=python-imagebackup
_name=${pkgname#python-}
pkgver=0.2.1
pkgrel=2
pkgdesc="vntfsclone, vpartclone & vpartimage - Mount Image Backups as Virtual Partitions"
arch=("x86_64")
url="https://github.com/joergmlpts/imagebackup"
license=("MIT")
depends=("python-lz4" "python-tqdm" "python-pyfuse3" "python-zstandard")
makedepends=("python-build" "python-installer" "python-setuptools" "python-wheel")

source=("$_name-$pkgver.tar.gz"::"https://github.com/joergmlpts/imagebackup/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=("9d10e6487278b00b495da9cbd422534cb2875f167c6bee0dbec3cff2150aa5fe")

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

package() {
  cd "$_name-$pkgver"
  python -m installer --destdir="$pkgdir" dist/*.whl
}