Files
guru/media-sound/dzr/dzr-221112.ebuild
Jonas Frei aca91a5426 media-sound/dzr: add 221112, drop 221106
Signed-off-by: Jonas Frei <freijon@pm.me>
2022-11-14 06:08:58 +01:00

40 lines
815 B
Bash

# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
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"
LICENSE="Unlicense"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="
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
}
pkg_postinst() {
einfo "WARNING: For legal reasons this project"
einfo "does not contain the track decryption key."
einfo "Please read the following guide first:"
einfo "https://github.com/yne/dzr/wiki#find-the-dzr_cbc-key"
}