aboutsummaryrefslogtreecommitdiffstats
path: root/community/alpine-make-vm-image/APKBUILD
blob: 3538f14bd0f03b52fbfaebf539bc000b01bd8fd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=alpine-make-vm-image
pkgver=0.4.0
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"
builddir="$srcdir/$pkgname-$pkgver"
options="!check"  # no suitable tests provided

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

sha512sums="c342e069c1498ff06a82f6aacfeac47be8b0fa2a7b38e9368d6b85ad1c920a4a6fb946b9cbe8a7e05628b74d2b401792570e343273aed41729bf338b5df9adf8  alpine-make-vm-image-0.4.0.tar.gz
54f1e16ae074dee34443e4b8f82e3eb3c07b97de515508a6b9318ed0c4db572f18d2a073b1d12bd1843a9aff00351a337b93eaed78a1046880f5da064e2230b2  only-qemu-img-is-needed.patch"