linux_alpine/srcpkgs/supersonic-desktop/APKBUILD

34 lines
1.1 KiB
Plaintext
Raw Normal View History

2024-01-27 16:47:19 +01:00
# Contributor: ITmodulo <itmodulo@disroot.org>
# Maintainer: ITmodulo <itmodulo@disroot.org>
pkgname=supersonic-desktop
2024-01-27 22:01:38 +01:00
pkgver=0.9.0
2024-01-27 16:47:19 +01:00
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"
2024-01-27 19:37:50 +01:00
arch="all"
2024-01-27 16:47:19 +01:00
makedepends="go gcc g++ 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
}
2024-01-27 22:01:38 +01:00
2024-01-27 16:47:19 +01:00
sha512sums="
2024-01-27 22:01:38 +01:00
edd333e050694581eca4ff31eb38a0d200f3e63a134931c53117047a04944176aeffcbf518482050e153f6e13e65aa82b099445a873f17662a9e53554d6af890 supersonic-desktop-0.9.0.tar.gz
2024-01-27 16:47:19 +01:00
"