gentoo/media-sound/tidal-hifi-bin/tidal-hifi-bin-5.17.0.ebuild
damage 3cd941928b source needs internet access during build
which is prohibited by gentoo sandbox
2024-12-24 14:19:15 +01:00

32 lines
681 B
Bash

# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
MY_PN="tidal-hifi"
DESCRIPTION="Tidal Desktop App based on nodejs/electron"
HOMEPAGE="https://github.com/Mastermindzh/tidal-hifi"
SRC_URI="https://github.com/Mastermindzh/${MY_PN}/releases/download/${PV}/linux-unpacked.zip"
S="${WORKDIR}/linux-unpacked"
LICENSE=""
SLOT="0"
KEYWORDS="~amd64"
DEPEND="net-libs/nodejs"
RDEPEND="${DEPEND}"
BDEPEND="net-libs/nodejs[npm]"
NPM_FLAGS=(
--color false
--verbose
--prefix "${S}"
)
src_install() {
mkdir -p "${ED}/usr/lib"
cp -r "${S}" "${ED}/usr/lib/${MY_PN}"
dosym "/usr/lib/${MY_PN}/tidal-hifi" "/usr/bin/tidal-hifi"
}