diff --git a/app-misc/maloja-scrobbler/maloja-scrobbler-9999.ebuild b/app-misc/maloja-scrobbler/maloja-scrobbler-9999.ebuild new file mode 100644 index 0000000..ddde8af --- /dev/null +++ b/app-misc/maloja-scrobbler/maloja-scrobbler-9999.ebuild @@ -0,0 +1,34 @@ +# Copyright 2023-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Script for manually scrobbling albums to Maloja " +HOMEPAGE="https://github.com/timkicker/maloja-manual-scrobbler" + +if [[ "${PV}" = *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/timkicker/maloja-manual-scrobbler.git" +else + SRC_URI="https://github.com/timkicker/maloja-manual-scrobbler/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" + KEYWORDS="~amd64" +fi + +LICENSE="GPL-3.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +RDEPEND=" + dev-python/requests + dev-python/python3-discogs-client +" +DEPEND=" + ${RDEPEND} +" + +BDEPEND=" +" + +src_install() { + install scrobbler.py ${D}/usr/bin/scrobbler +}