linux_alpine/edge/supersonic-desktop/APKBUILD
itmodulo c7e81a6e15
All checks were successful
Release Alpine apk for ARM64v8 Edge / compilation-arm64v8 (push) Successful in 1h5m3s
disable stable runner, move to edge, add fotema update
supersonic-desktop
2025-06-29 11:39:49 +02:00

33 lines
1.1 KiB
Text
Executable file

# Contributor: ITmodulo <itmodulo@disroot.org>
# Maintainer: ITmodulo <itmodulo@disroot.org>
pkgname=supersonic-desktop
pkgver=0.16.0
pkgrel=0
pkgdesc="Full-featured, mpv-based music player for Subsonic and Jellyfin servers"
url="https://github.com/dweymouth/supersonic"
license="GPL-3.0-or-later"
arch="all"
makedepends="go mpv-dev libayatana-appindicator-dev libsecret-dev glib-dev libx11-dev"
depends="libayatana-appindicator libsecret"
source="$pkgname-$pkgver.tar.gz::https://github.com/dweymouth/supersonic/archive/refs/tags/v$pkgver.tar.gz"
options="!check" # not needed
build() {
cd "supersonic-$pkgver"
go build -ldflags="-s -w" -o bin/$pkgname
}
#check() {
# go test ./...
#}
package() {
cd "src/supersonic-$pkgver"
install -Dm755 bin/$pkgname "$pkgdir"/usr/bin/$pkgname
install -Dm644 res/appicon.png "$pkgdir"/usr/share/pixmaps/supersonic-desktop.png
install -Dm644 res/supersonic-desktop.desktop "$pkgdir"/usr/share/applications/supersonic-desktop.desktop
}
sha512sums="
e759025e4ba3c17ef78a0deaec92069af0e5e6b2794920427fba062386466784a6593bed714af6b48f0a73a49d296b711eb619f85fd2b88200a623dc587af268 supersonic-desktop-0.16.0.tar.gz
"