Some checks failed
Release Alpine apk for ARM64v8 / compilation-arm64v8 (push) Has been cancelled
32 lines
1.1 KiB
Text
Executable file
32 lines
1.1 KiB
Text
Executable file
# Contributor: ITmodulo <itmodulo@disroot.org>
|
|
# Maintainer: ITmodulo <itmodulo@disroot.org>
|
|
pkgname=supersonic-desktop
|
|
pkgver=0.14.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"
|
|
|
|
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="
|
|
15a09b7521494bd55cfbd1f52632547505e74a52ae27ba0407aa7698ae6f041591601a6039d8e2e2b8c7d82ae1fcb0cdf359710fa9b588b838ac733cca0fabce supersonic-desktop-0.14.0.tar.gz
|
|
"
|