1 # Maintainer: Jelle van der Waa <jelle@archlinux.org>
2 # Contributor: Achilleas Koutsou <achilleas@koutsou.net>
5 pkgdesc='Build Pipelines for Operating System Artifacts'
8 url="https://www.osbuild.org"
11 depends=(bubblewrap curl e2fsprogs qemu-img python util-linux python-yaml python-jsonschema python-toml skopeo)
12 makedepends=(make python-docutils python-setuptools)
13 optdepends=('dnf: build rpm/dnf images'
14 'pacman: build pacman images')
15 source=($pkgname-$pkgver.tar.gz::https://github.com/osbuild/osbuild/archive/refs/tags/v${pkgver}.tar.gz)
16 sha256sums=('b9c6ecb9156842395be83295b53abcb117c00facaa056a22822c39f7db8254ea')
30 python setup.py install --skip-build --root="$pkgdir"
32 install -m 0755 -d "$pkgdir/usr/lib/osbuild/osbuild"
34 for group in assemblers devices inputs runners schemas sources stages mounts ; do
35 cp -vdr --no-preserve=ownership "$group" "$pkgdir/usr/lib/osbuild/"
39 install -Dm644 data/10-osbuild-inhibitor.rules "$pkgdir"/usr/lib/udev/rules.d/10-osbuild-inhibitor.rules