commit:     5e20a4cf5f0e3be71e0206b3a30fbd1751545ee9
Author:     Jonas Frei <freijon <AT> pm <DOT> me>
AuthorDate: Wed Jul 17 20:00:31 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Wed Jul 17 20:03:09 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5e20a4cf

media-sound/dzr: Optimized after commit comments

See: 
https://github.com/gentoo/guru/commit/5b9aa829c938f95e8203ff369dd28cee4f432733#commitcomment-144330620

Signed-off-by: Jonas Frei <freijon <AT> pm.me>

 media-sound/dzr/dzr-240704.ebuild | 17 ++++++-----------
 1 file changed, 6 insertions(+), 11 deletions(-)

diff --git a/media-sound/dzr/dzr-240704.ebuild 
b/media-sound/dzr/dzr-240704.ebuild
index 94371499e..2418dedea 100644
--- a/media-sound/dzr/dzr-240704.ebuild
+++ b/media-sound/dzr/dzr-240704.ebuild
@@ -1,8 +1,10 @@
-# Copyright 2022 Gentoo Authors
+# Copyright 2022-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
+inherit prefix
+
 DESCRIPTION="DZR: the command line deezer.com player"
 HOMEPAGE="https://github.com/yne/dzr";
 SRC_URI="https://github.com/yne/${PN}/archive/refs/tags/${PV}.tar.gz -> 
${P}.tar.gz"
@@ -11,24 +13,17 @@ LICENSE="Unlicense"
 SLOT="0"
 KEYWORDS="~amd64"
 
-DEPEND="
+RDEPEND="
        app-misc/jq[oniguruma]
        dev-libs/openssl
        dev-util/dialog
        media-video/mpv
        net-misc/curl
 "
-RDEPEND="${DEPEND}"
-BDEPEND=""
 
 src_install() {
-       exeinto /usr/bin
-       doexe dzr
-       doexe dzr-dec
-       doexe dzr-id3
-       doexe dzr-srt
-       doexe dzr-url
-       default
+       hprefixify dzr*
+       dobin dzr*
 }
 
 pkg_postinst() {

Reply via email to