blob: f938f110fa411f680c367c01168d15abd5008844 (
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
|
# Maintainer: Andreas Grapentin <andreas@grapentin.org>
pkgname=parabola-vmbootstrap
pkgver=20190502
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"
}
|