aboutsummaryrefslogtreecommitdiffstats
path: root/community/alpine-make-vm-image/APKBUILD
blob: 819850deaaf5fc2f012c32adaf79ae8fef269ce0 (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.5.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="52608e69b30efd52d0dbf6cbe8f2400dc9ddc205b491c19a689618f99bc6f6168606b8695ae7dfe8245d0b1360b215269db95a98d38a9cd6fb11135044665b2a  alpine-make-vm-image-0.5.0.tar.gz
3b27a914ebeefd0d808f590355c715944c180d5e6be200097bd91336cf91e5e15213977acf3fade72ef8035b1d39cc2c74f7edda64f7783958631ed99f7a76bc  only-qemu-img-is-needed.patch"