mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 04:16:46 +02:00
testing/radio-cli: new aport
https://github.com/margual56/radio-cli A simple radio CLI Signed-off-by: Hannes Braun <hannes@hannesbraun.net>
This commit is contained in:
parent
d6a61c524c
commit
437820f985
31
testing/radio-cli/APKBUILD
Normal file
31
testing/radio-cli/APKBUILD
Normal file
@ -0,0 +1,31 @@
|
||||
# Contributor: Hannes Braun <hannes@hannesbraun.net>
|
||||
# Maintainer: Hannes Braun <hannes@hannesbraun.net>
|
||||
pkgname=radio-cli
|
||||
pkgver=2.3.1
|
||||
pkgrel=0
|
||||
pkgdesc="A simple radio CLI"
|
||||
url="https://github.com/margual56/radio-cli"
|
||||
arch="all"
|
||||
license="GPL-2.0-only"
|
||||
depends="mpv yt-dlp"
|
||||
makedepends="cargo cargo-auditable openssl-dev"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/margual56/radio-cli/archive/refs/tags/v$pkgver.tar.gz"
|
||||
options="!check" # no tests
|
||||
|
||||
prepare() {
|
||||
default_prepare
|
||||
|
||||
cargo fetch --target="$CTARGET" --locked
|
||||
}
|
||||
|
||||
build() {
|
||||
cargo auditable build --release --frozen
|
||||
}
|
||||
|
||||
package() {
|
||||
install -Dm755 target/release/radio-cli "$pkgdir"/usr/bin/radio-cli
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
e5ca17a81127640b350c1306cd9ec339dd6d819a38ac006a99c2a21dcae2fb82f87788caea529ac2dac3315a8dbb0c671157f019c762f92a8550c9be521a1adc radio-cli-2.3.1.tar.gz
|
||||
"
|
||||
Loading…
x
Reference in New Issue
Block a user