void-packages/srcpkgs/vanilla-mklive/template

31 lines
726 B
Plaintext

# Template file for 'vanilla-mklive'
pkgname=vanilla-mklive
version=0.4.1
build_style=custom-install
short_desc="Vanilla GNU/Linux live image maker"
maintainer="Juan RP <xtraeme@gmail.com>"
license="Public domain"
homepage="https://vanilla.github.com"
long_desc="
$pkgname is a simple shell script to build a bootable live image,
with xbps binary packages."
replaces="xbps-mklive>=0"
noextract=yes
noarch=yes
Add_dependency full cdrtools
Add_dependency full squashfs-tools
Add_dependency full syslinux
Add_dependency full initramfs-tools
do_build()
{
sed "s|@@MKLIVE_VERSION@@|${version}|g" \
${FILESDIR}/mklive.sh.in > ${pkgname}.sh
}
do_install()
{
install -Dm755 ${pkgname}.sh ${DESTDIR}/usr/sbin/vanilla-mklive
}