# Template file for 'void-mklive'
pkgname=void-mklive
version=20131114
revision=1
short_desc="The Void Linux live/rootfs image maker and installer"
maintainer="Juan RP <xtraeme@gmail.com>"
license="Simplified BSD"
homepage="https://www.voidlinux.eu"

only_for_archs="i686 x86_64"
build_style=gnu-makefile
make_install_args="PREFIX=/usr"
makedepends="dracut>=027 grub-x86_64-efi squashfs-tools syslinux>=5 dosfstools xorriso xbps>=0.25 parted"

do_fetch() {
	local url="git://github.com/voidlinux/void-mklive"
	msg_normal "Fetching source from $url ...\n"
	git clone ${url} ${pkgname}-${version}
}

void-mklive_package() {
	noarch="yes"
	depends="${makedepends}"
	pkg_install() {
		vmove all
	}
}