summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2021-07-18 10:16:25 -0400
committerIonen Wolkens <ionen@gentoo.org>2021-07-18 10:33:06 -0400
commit9e80d9c3b2cb6bded8553aaee68414c744f7d127 (patch)
treefcbbedb645806b12200c6cdf59fc73bf99c89233 /sys-boot
parentdev-haskell/text: bump up to 1.2.4.1 (diff)
downloadgentoo-9e80d9c3b2cb6bded8553aaee68414c744f7d127.tar.gz
gentoo-9e80d9c3b2cb6bded8553aaee68414c744f7d127.tar.bz2
gentoo-9e80d9c3b2cb6bded8553aaee68414c744f7d127.zip
sys-boot/woeusb: install script+manpage, tidy a bit
Not familiar with this package but given maintainer is in process of retiring from maintenance, fixing on their behalf. Also remove a few useless bits, e.g. no autotools files in this version. Closes: https://bugs.gentoo.org/802735 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'sys-boot')
-rw-r--r--sys-boot/woeusb/woeusb-5.1.2.ebuild19
1 files changed, 11 insertions, 8 deletions
diff --git a/sys-boot/woeusb/woeusb-5.1.2.ebuild b/sys-boot/woeusb/woeusb-5.1.2.ebuild
index 77f857db0839..4f1d25c96d02 100644
--- a/sys-boot/woeusb/woeusb-5.1.2.ebuild
+++ b/sys-boot/woeusb/woeusb-5.1.2.ebuild
@@ -3,16 +3,14 @@
EAPI=8
-inherit autotools
-
DESCRIPTION="Creates windows installer on usb media from an iso image"
HOMEPAGE="https://github.com/WoeUSB/WoeUSB"
SRC_URI="https://github.com/WoeUSB/WoeUSB/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/WoeUSB-${PV}"
LICENSE="CC-BY-SA-4.0 GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-RESTRICT="test" # No test suite
RDEPEND="
app-arch/wimlib
@@ -20,13 +18,18 @@ RDEPEND="
sys-block/parted
sys-boot/grub:2[grub_platforms_pc]
sys-fs/dosfstools
- sys-fs/ntfs3g
-"
+ sys-fs/ntfs3g"
DEPEND="${RDEPEND}"
-S="${WORKDIR}/WoeUSB-${PV}"
-
src_prepare() {
default
- sed -i -e "s/@@WOEUSB_VERSION@@/${PV}/" sbin/"${PN}" || die
+
+ sed -i "s/@@WOEUSB_VERSION@@/${PV}/" sbin/${PN} share/man/man1/${PN}.1 || die
+}
+
+src_install() {
+ dosbin sbin/${PN}
+ doman share/man/man1/${PN}.1
+
+ einstalldocs
}