Update to 0.13.1

This commit is contained in:
exu 2024-08-21 09:51:35 +02:00
parent 6195174827
commit b4dfb354d5

View File

@ -1,7 +1,7 @@
# Maintainer: exu <aur _a_ frm01 _d_ net> # Maintainer: exu <aur _a_ frm01 _d_ net>
pkgname=supersonic-desktop-wayland pkgname=supersonic-desktop-wayland
pkgver=0.13.0 pkgver=0.13.1
pkgrel=1 pkgrel=1
pkgdesc="A lightweight cross-platform desktop client for Subsonic and Jellyfin music servers." pkgdesc="A lightweight cross-platform desktop client for Subsonic and Jellyfin music servers."
_pkgname="${pkgname//-desktop-wayland/}" _pkgname="${pkgname//-desktop-wayland/}"
@ -9,31 +9,33 @@ arch=('x86_64')
url="https://github.com/dweymouth/supersonic" url="https://github.com/dweymouth/supersonic"
license=('GPL3') license=('GPL3')
depends=('glibc' depends=('glibc'
'libglvnd' 'libglvnd'
'libx11' 'libx11'
'mpv') 'mpv')
optdepends=('libappindicator-gtk3: Systray indicator support' optdepends=('libappindicator-gtk3: Systray indicator support'
'org.freedesktop.secrets: Keyring password store support') 'org.freedesktop.secrets: Keyring password store support')
makedepends=('go>=1.17') makedepends=('go>=1.17')
provides=('supersonic-desktop')
conflicts=('supersonic-desktop')
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz") source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('771a1937183bb1a1354e07d4ff62196441335612ed4c614a1a552569dda8323a') sha256sums=('80fa4b34b41be73dffd330656f10803515ce3cd662c9c72c66208963cbbb8b4a')
build() { build() {
export GOPATH="$srcdir"/gopath export GOPATH="$srcdir"/gopath
pushd "$srcdir/${_pkgname}-${pkgver}" pushd "$srcdir/${_pkgname}-${pkgver}"
go build -mod=readonly -modcacherw -tags=wayland . go build -mod=readonly -modcacherw -tags=wayland .
popd popd
} }
package() { package() {
pushd "$srcdir/${_pkgname}-${pkgver}" pushd "$srcdir/${_pkgname}-${pkgver}"
install -Dm755 "./${_pkgname}" "${pkgdir}/usr/bin/${pkgname%-wayland}" install -Dm755 "./${_pkgname}" "${pkgdir}/usr/bin/${pkgname%-wayland}"
install -Dm644 "./res/appicon.png" "${pkgdir}/usr/share/pixmaps/${pkgname%-wayland}.png" 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" install -Dm644 "./res/${pkgname%-wayland}.desktop" "$pkgdir/usr/share/applications/${pkgname%-wayland}.desktop"
popd popd
} }