commit: 9e80d9c3b2cb6bded8553aaee68414c744f7d127 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> AuthorDate: Sun Jul 18 14:16:25 2021 +0000 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> CommitDate: Sun Jul 18 14:33:06 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e80d9c3
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 <AT> gentoo.org> sys-boot/woeusb/woeusb-5.1.2.ebuild | 19 +++++++++++-------- 1 file 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 77f857db083..4f1d25c96d0 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 }
