aboutsummaryrefslogtreecommitdiffstats
path: root/community/alpine-make-vm-image/APKBUILD
blob: 5198da9197c32045165128ae605e43a219bfab50 (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
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=alpine-make-vm-image
pkgver=0.2.2
pkgrel=0
pkgdesc="Make customized Alpine Linux disk image for virtual machines"
url="https://github.com/alpinelinux/alpine-make-vm-image"
arch="noarch"
license="MIT"
depends="qemu-img"
source="$pkgname-$pkgver.tar.gz::https://github.com/alpinelinux/$pkgname/archive/v$pkgver.tar.gz
	only-qemu-img-is-needed.patch
	no-hardened.patch"
builddir="$srcdir/$pkgname-$pkgver"
options="!check"  # no suitable tests provided

package() {
	cd "$builddir"
	make install DESTDIR="$pkgdir" PREFIX=/usr
}

sha512sums="1169334c4b398da95ff9c115072c09fe43dda06b4cb60a032b87b74023f73c635f52cfddf7f824faff6bef016fc7a81201f66bf22d12cb02438d9d4bc059297c  alpine-make-vm-image-0.2.2.tar.gz
54f1e16ae074dee34443e4b8f82e3eb3c07b97de515508a6b9318ed0c4db572f18d2a073b1d12bd1843a9aff00351a337b93eaed78a1046880f5da064e2230b2  only-qemu-img-is-needed.patch
6de07784bf7e64799fc1cb8487efc784ac1e8f6a036f8c94d8e126fa9554d6848477f21590f88c251d0ee5b1ca5d94f350cd3e47092708828b3f94ea8a0c3a5f  no-hardened.patch"