From c74826aeb61e71c078f63c9208486381f01b9616 Mon Sep 17 00:00:00 2001 From: Ranme Fritzvilliams Date: Wed, 24 Nov 2021 00:47:52 +0300 Subject: [PATCH] WoeUSB: update to 5.2.2. This commit with heavy changes is made to update the package from version 3.1.1 to 5.2.2. Due to the absence of updates for a long time the following changes are present: - the repository has been moved to another organization. - gui is forked into a separate repository and left unmaintained. - GNU Auto*hell is no more. - more dependences: wimlib and dosfstools. - WoeUSB-cli has lost its purpose (since gui is removed, cli only is left). --- srcpkgs/WoeUSB/template | 36 ++++++++++++------------------------ 1 file changed, 12 insertions(+), 24 deletions(-) diff --git a/srcpkgs/WoeUSB/template b/srcpkgs/WoeUSB/template index 4b8a4892dec5..fd9e31d04446 100644 --- a/srcpkgs/WoeUSB/template +++ b/srcpkgs/WoeUSB/template @@ -1,34 +1,22 @@ # Template file for 'WoeUSB' pkgname=WoeUSB -version=3.3.1 -revision=3 -build_style=gnu-configure -configure_args="--with-wx-config=wx-config-gtk3" -hostmakedepends="automake gettext libtool" -makedepends="wxWidgets-gtk3-devel" -depends="WoeUSB-cli" +version=5.2.2 +revision=1 +depends="bash grub parted wget dosfstools ntfs-3g wimlib" short_desc="Create a Windows USB stick installer from a real Windows DVD or image" maintainer="bra1nwave " license="GPL-3.0-or-later" -homepage="https://github.com/slacka/WoeUSB" -distfiles="https://github.com/slacka/WoeUSB/archive/v${version}.tar.gz" -checksum=0cab88a1113506f39d2f1c19532b2cd8d968c6a9f59129953c000e29e73f3d4f +homepage="https://github.com/WoeUSB/WoeUSB" +distfiles="https://github.com/WoeUSB/WoeUSB/archive/v${version}.tar.gz" +checksum=c7c83ce17df2429087ae91edc48a5ac79770898275580fba3feed5ce37c41b03 -post_patch() { +do_patch() { vsed -i -e "s/@@WOEUSB_VERSION@@/$version/g" \ - configure.ac \ - src/woeusb src/woeusb.1 src/woeusbgui.1 + sbin/woeusb \ + share/man/man1/woeusb.1 } -pre_configure() { - autoreconf -fi -} - -WoeUSB-cli_package() { - depends="bash grub ntfs-3g parted wget" - short_desc+=" - command line only" - pkg_install() { - vmove usr/bin/woeusb - vmove usr/share/man/man1/woeusb.1 - } +do_install() { + vbin sbin/woeusb + vman share/man/man1/woeusb.1 }