ceres-ebuilds/app-misc/maloja-scrobbler/maloja-scrobbler-9999.ebuild
2025-09-16 00:16:42 +01:00

34 lines
734 B
Bash

# 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 -D scrobbler.py ${D}/usr/bin/scrobbler
}