From 5ccae3956f7f9e04b5edaabbde79d57707d206f0 Mon Sep 17 00:00:00 2001 From: Nils Freydank Date: Sun, 4 Sep 2022 13:52:05 +0200 Subject: [PATCH] net-misc/q: Rename binary from q-tool to q-dns Signed-off-by: Nils Freydank --- net-misc/q/{q-0.8.2.ebuild => q-0.8.2-r1.ebuild} | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) rename net-misc/q/{q-0.8.2.ebuild => q-0.8.2-r1.ebuild} (93%) diff --git a/net-misc/q/q-0.8.2.ebuild b/net-misc/q/q-0.8.2-r1.ebuild similarity index 93% rename from net-misc/q/q-0.8.2.ebuild rename to net-misc/q/q-0.8.2-r1.ebuild index 9affc81..7078802 100644 --- a/net-misc/q/q-0.8.2.ebuild +++ b/net-misc/q/q-0.8.2-r1.ebuild @@ -23,6 +23,7 @@ else " fi +MY_PN="q-dns" KEYWORDS="~amd64" LICENSE="AGPL-3 Apache-2.0 BSD BSD-2 GPL-3 MIT" @@ -45,14 +46,14 @@ src_compile() { } src_install() { - newbin ${PN} q-tool + newbin ${PN} ${MY_PN} } pkg_postinst() { if [[ -z "${REPLACING_VERSION}" ]]; then elog "" elog "Please note that the binary is renamed to" - elog "\"q-tool\" as app-portage/portage-utils" + elog "\"${MY_PN}\" as app-portage/portage-utils" elog "already installs the \"q\" binary." fi }