Update to 0.11.0

This commit is contained in:
exu 2024-06-05 21:43:06 +02:00
parent 556b161d97
commit 42f260d4b3
2 changed files with 14 additions and 11 deletions

View File

@ -1,6 +1,6 @@
pkgbase = supersonic-desktop-wayland
pkgdesc = A lightweight cross-platform desktop client for Subsonic and Jellyfin music servers.
pkgver = 0.10.1
pkgver = 0.11.0
pkgrel = 1
url = https://github.com/dweymouth/supersonic
arch = x86_64
@ -12,7 +12,7 @@ pkgbase = supersonic-desktop-wayland
depends = mpv
optdepends = libappindicator-gtk3: Systray indicator support
optdepends = org.freedesktop.secrets: Keyring password store support
source = supersonic-desktop-wayland-0.10.1.tar.gz::https://github.com/dweymouth/supersonic/archive/refs/tags/v0.10.1.tar.gz
sha256sums = b59b2841f508d6be7f3695a468c8de41f0d78987ef920b206574169b706a98d9
source = supersonic-desktop-wayland-0.11.0.tar.gz::https://github.com/dweymouth/supersonic/archive/refs/tags/v0.11.0.tar.gz
sha256sums = 635e17d8013a245841f068083fc62ec62add76d2155c559a65bd91aa3982f1d6
pkgname = supersonic-desktop-wayland

View File

@ -1,7 +1,7 @@
# Maintainer: exu <aur _a_ frm01 _d_ net>
pkgname=supersonic-desktop-wayland
pkgver=0.10.1
pkgver=0.11.0
pkgrel=1
pkgdesc="A lightweight cross-platform desktop client for Subsonic and Jellyfin music servers."
_pkgname="${pkgname//-desktop-wayland/}"
@ -16,21 +16,24 @@ optdepends=('libappindicator-gtk3: Systray indicator support'
'org.freedesktop.secrets: Keyring password store support')
makedepends=('go>=1.17')
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('b59b2841f508d6be7f3695a468c8de41f0d78987ef920b206574169b706a98d9')
sha256sums=('635e17d8013a245841f068083fc62ec62add76d2155c559a65bd91aa3982f1d6')
build() {
export GOPATH="$srcdir"/gopath
cd "$srcdir/${_pkgname}-${pkgver}"
pushd "$srcdir/${_pkgname}-${pkgver}"
go build -mod=readonly -modcacherw -tags=wayland .
popd
}
package() {
cd "$srcdir/${_pkgname}-${pkgver}"
_output="${srcdir}/${_pkgname}-${pkgver}"
pushd "$srcdir/${_pkgname}-${pkgver}"
install -Dm755 "${_output}/${_pkgname}" "${pkgdir}/usr/bin/${pkgname%-wayland}"
install -Dm644 "$srcdir/${_pkgname}-${pkgver}/res/appicon.png" "${pkgdir}/usr/share/pixmaps/${pkgname%-wayland}.png"
install -Dm644 "$srcdir/${_pkgname}-${pkgver}/res/${pkgname%-wayland}.desktop" "$pkgdir/usr/share/applications/${pkgname%-wayland}.desktop"
install -Dm755 "./${_pkgname}" "${pkgdir}/usr/bin/${pkgname%-wayland}"
install -Dm644 "./res/appicon.png" "${pkgdir}/usr/share/pixmaps/${pkgname%-wayland}.png"
install -Dm644 "./res/${pkgname%-wayland}.desktop" "$pkgdir/usr/share/applications/${pkgname%-wayland}.desktop"
popd
}