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

Jelle van der Waa jelle at gemini.archlinux.org
Fri Nov 26 16:27:33 UTC 2021


    Date: Friday, November 26, 2021 @ 16:27:33
  Author: jelle
Revision: 1054862

Initial commit

Added:
  osbuild/
  osbuild/repos/
  osbuild/trunk/
  osbuild/trunk/PKGBUILD

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

Added: osbuild/trunk/PKGBUILD
===================================================================
--- osbuild/trunk/PKGBUILD	                        (rev 0)
+++ osbuild/trunk/PKGBUILD	2021-11-26 16:27:33 UTC (rev 1054862)
@@ -0,0 +1,30 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+
+pkgname=osbuild
+pkgdesc='Build Pipelines for Operating System Artifacts'
+pkgver=42
+pkgrel=1
+url="https://www.osbuild.org"
+arch=(any)
+license=(Apache)
+depends=(python)
+makedepends=(make python-docutils python-setuptools)
+source=($pkgname-$pkgver.tar.gz::https://github.com/osbuild/osbuild/archive/refs/tags/v${pkgver}.tar.gz)
+sha256sums=('SKIP')
+
+build() {
+  cd $pkgname-$pkgver
+  python setup.py build
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make man
+  python setup.py install --skip-build --root="$pkgdir"
+
+  install -v -m 0755 -d "$pkgdir/usr/lib/osbuild"
+
+  for group in assemblers runners schemas sources stages ; do
+    cp -vdr --no-preserve=ownership "$group" "$pkgdir/usr/lib/osbuild/"
+  done
+}



More information about the arch-commits mailing list