sdrtrunk-bin: prototype out 9999

I can't add 9999 as the nightly gets rebuilt all the time so the
checksums will already be wrong.  But this way I can symlink 9999 to the
release, make the manifest, and install.
This commit is contained in:
Rick Farina (Zero_Chaos) 2025-06-24 17:09:25 -04:00
parent dedb0b1ee5
commit 21ac1cfa9e
No known key found for this signature in database
GPG key ID: A29433C0AA431DDC

View file

@ -5,9 +5,14 @@ EAPI=8
DESCRIPTION="Decode, monitor, record and stream trunked mobile and related radio protocols"
HOMEPAGE="https://github.com/DSheirer/sdrtrunk"
BPV="${PV/_/-}"
MY_PV="${BPV/beta/beta-}"
SRC_URI="https://github.com/DSheirer/sdrtrunk/releases/download/v${MY_PV}/sdr-trunk-linux-x86_64-v${MY_PV}.zip"
if [ "${PV}" = "9999" ]; then
MY_PV="nightly"
SRC_URI="https://github.com/DSheirer/sdrtrunk/releases/download/${MY_PV}/sdr-trunk-linux-x86_64-v${MY_PV}.zip"
else
BPV="${PV/_/-}"
MY_PV="${BPV/beta/beta-}"
SRC_URI="https://github.com/DSheirer/sdrtrunk/releases/download/v${MY_PV}/sdr-trunk-linux-x86_64-v${MY_PV}.zip"
fi
KEYWORDS="amd64 x86"
LICENSE="GPL-3"