Skip to content

Commit

Permalink
woeusb: fix version, dependencies, split gui
Browse files Browse the repository at this point in the history
  • Loading branch information
sgn committed Apr 14, 2020
1 parent 41d74a1 commit e585ba3
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
1 change: 1 addition & 0 deletions srcpkgs/WoeUSB-cli
20 changes: 18 additions & 2 deletions srcpkgs/WoeUSB/template
Original file line number Diff line number Diff line change
@@ -1,19 +1,35 @@
# Template file for 'WoeUSB'
pkgname=WoeUSB
version=3.3.1
revision=1
revision=2
build_style=gnu-configure
configure_args="--with-wx-config=wx-config-gtk3"
hostmakedepends="automake gettext libtool"
makedepends="wxWidgets-gtk3-devel"
depends="grub ntfs-3g parted wget"
depends="WoeUSB-cli"
short_desc="Create a Windows USB stick installer from a real Windows DVD or image"
maintainer="bra1nwave <bra1nwave@protonmail.com>"
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

post_patch() {
vsed -i -e "s/@@WOEUSB_VERSION@@/$version/g" \
configure.ac \
src/woeusb src/woeusb.1 src/woeusbgui.1
}

pre_configure() {
autoreconf -fi
}

WoeUSB-cli_package() {
archs=noarch
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
}
}

0 comments on commit e585ba3

Please sign in to comment.