blob: 995bb50600703446ac961f27f8a81f3eeef820a7 (
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
26
27
28
29
30
31
32
33
34
35
36
|
# Maintainer: weilinfox <sakurakaze.fox at gmail.com>
pkgname=debspawn
pkgver=0.6.4
pkgrel=5
pkgdesc='Debspawn is a tool to build Debian packages in an isolated environment, using systemd-nspawn containers'
arch=('any')
url="https://github.com/lkhq/debspawn"
license=('LGPL-3.0-only')
depends=(
'debootstrap'
'dpkg'
'python'
'python-tomlkit'
'zstd'
)
makedepends=(
'python-build'
'python-installer'
'python-setuptools'
'python-wheel'
)
source=("https://github.com/lkhq/debspawn/archive/refs/tags/v$pkgver.tar.gz")
sha512sums=('a60a8c98f89342368209ffdb07bd40efbe83ceedb3896972bee8984f24a792885431d127de68c05bb4e2abfaf43f764943a096e47fcf29a01bffdde7a70ce14f')
build() {
cd "$pkgname-$pkgver"
python -m build --wheel --skip-dependency-check --no-isolation
# All of the tests need superuser permissions
}
package() {
cd "$pkgname-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|