29 lines
980 B
Bash
29 lines
980 B
Bash
# Template file for 'WoeUSB-cli'
|
|
pkgname=WoeUSB-cli
|
|
version=5.2.4
|
|
revision=1
|
|
_rufus_uefi_ntfs_version=b30e3b387a3ca7a5e2fddebcc2c8f9538a89b868
|
|
depends="bash grub ntfs-3g parted"
|
|
short_desc="Create a Windows USB stick installer from a real Windows DVD or image"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://github.com/WoeUSB/WoeUSB"
|
|
distfiles="https://github.com/WoeUSB/WoeUSB/archive/v${version}.tar.gz
|
|
https://cdn.jsdelivr.net/gh/pbatard/rufus@${_rufus_uefi_ntfs_version}/res/uefi/uefi-ntfs.img"
|
|
checksum="8305296d49b7b58c200f9d373eac8dd494d03442737183749a0ee166403a7e68
|
|
e159fba61b14b20cc0c1631dcf158fb3811f084a9874d190616cb4740a0ccf9c"
|
|
|
|
skip_extraction="uefi-ntfs.img"
|
|
|
|
post_patch() {
|
|
vsed -i -e "s/@@WOEUSB_VERSION@@/$version/g" \
|
|
sbin/woeusb share/man/man1/woeusb.1
|
|
}
|
|
|
|
do_install() {
|
|
vbin sbin/woeusb
|
|
vman share/man/man1/woeusb.1
|
|
vinstall ${XBPS_SRCDISTDIR}/${sourcepkg}-${version}/uefi-ntfs.img \
|
|
644 usr/share/woeusb
|
|
}
|