[arch-commits] Commit in osbuild/repos (community-any community-any/PKGBUILD)

Jelle van der Waa jelle at gemini.archlinux.org
Mon Dec 20 09:50:50 UTC 2021


    Date: Monday, December 20, 2021 @ 09:50:50
  Author: jelle
Revision: 1079736

archrelease: copy trunk to community-any

Added:
  osbuild/repos/community-any/
  osbuild/repos/community-any/PKGBUILD
    (from rev 1079735, osbuild/trunk/PKGBUILD)

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Copied: osbuild/repos/community-any/PKGBUILD (from rev 1079735, osbuild/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2021-12-20 09:50:50 UTC (rev 1079736)
@@ -0,0 +1,32 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+
+pkgname=osbuild
+pkgdesc='Build Pipelines for Operating System Artifacts'
+pkgver=44
+pkgrel=1
+url="https://www.osbuild.org"
+arch=(any)
+license=(Apache)
+depends=(bubblewrap curl e2fsprogs qemu python util-linux python-yaml)
+makedepends=(make python-docutils python-setuptools)
+optdepends=('rpm: build rpm/dnf images')
+optdepends=('pacman: build pacman images')
+source=($pkgname-$pkgver.tar.gz::https://github.com/osbuild/osbuild/archive/refs/tags/v${pkgver}.tar.gz)
+sha256sums=('8aeedc827865685d3c835f930d0cfa927580db2058b8a7b87c26a1241b165284')
+
+build() {
+  cd $pkgname-$pkgver
+  python setup.py build
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make man
+  python setup.py install --skip-build --root="$pkgdir"
+
+  install -m 0755 -d "$pkgdir/usr/lib/osbuild"
+
+  for group in assemblers devices inputs runners schemas sources stages ; do
+    cp -vdr --no-preserve=ownership "$group" "$pkgdir/usr/lib/osbuild/"
+  done
+}



More information about the arch-commits mailing list