From 05e76555201d13f135c8c7370934a491fcd5484e Mon Sep 17 00:00:00 2001 From: Andreas Grapentin Date: Mon, 18 Mar 2019 23:16:25 +0100 Subject: libre/parabola-vmbootstrap: added --- libre/parabola-vmbootstrap/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 libre/parabola-vmbootstrap/PKGBUILD (limited to 'libre/parabola-vmbootstrap/PKGBUILD') diff --git a/libre/parabola-vmbootstrap/PKGBUILD b/libre/parabola-vmbootstrap/PKGBUILD new file mode 100644 index 000000000..fd751fbdd --- /dev/null +++ b/libre/parabola-vmbootstrap/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Andreas Grapentin + +pkgname=parabola-vmbootstrap +pkgver=20190318 +pkgrel=1 +arch=(any) +pkgdesc="helper scripts to build and boot parabola virtual machine images" +license=(GPL3) +url="https://git.parabola.nu/~oaken-source/parabola-vmbootstrap.git/" + +depends=(arch-install-scripts bash binutils librelib parted qemu + qemu-arch-extra qemu-user-static qemu-user-static-binfmt sudo wget) +makedepends=(git) + +source=(git+https://git.parabola.nu/~oaken-source/parabola-vmbootstrap.git) +sha256sums=('SKIP') + +pkgver() { + cd "$srcdir"/$pkgname + printf "%s" "$(git log -1 --format="%at" | xargs -I{} date -d @{} +%Y%m%d)" +} + +package() { + cd "$srcdir"/$pkgname + + install -Dm755 src/pvmbootstrap.sh "$pkgdir"/usr/bin/pvmbootstrap + install -Dm755 src/pvmboot.sh "$pkgdir"/usr/bin/pvmboot + install -Dm755 src/pvm2tarball.sh "$pkgdir"/usr/bin/pvm2tarball + + install -Dm644 src/hooks/hook-ethernet-dhcp.sh \ + "$pkgdir"/usr/lib/libretools/pvmbootstrap/hook-ethernet-dhcp.sh + + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} -- cgit v1.2.3