30 lines
918 B
Bash
30 lines
918 B
Bash
# Template file for 'bootiso'
|
|
pkgname=bootiso
|
|
version=3.2.2
|
|
revision=1
|
|
archs=noarch
|
|
depends="bash coreutils curl dosfstools e2fsprogs eudev exfat-utils f2fs-tools
|
|
file findutils gawk grep mtools ntfs-3g parted rsync syslinux tar util-linux
|
|
wimlib"
|
|
short_desc="Create a USB bootable device from an ISO image easily and securely"
|
|
maintainer="Andy Weidenbaum <archbaum@gmail.com>"
|
|
license="MIT"
|
|
homepage="https://github.com/jsamr/bootiso"
|
|
changelog="https://github.com/jsamr/bootiso/raw/master/changelog.md"
|
|
distfiles="https://github.com/jsamr/bootiso/archive/v${version}.tar.gz"
|
|
checksum=50d3d4ce855db8b3328e4f7bbe677de2531a341276cc2b546e5fefc9f593a9f9
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
i686*|x86_64*) ;;
|
|
*) broken="requires syslinux which is not available on $XBPS_TARGET_MACHINE" ;;
|
|
esac
|
|
|
|
do_install() {
|
|
vbin bootiso
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
vdoc readme.md
|
|
vcopy images/ "usr/share/doc/${pkgname}"
|
|
}
|