From 42f260d4b39781e28bd0e5db21d122da53d75a99 Mon Sep 17 00:00:00 2001 From: exu Date: Wed, 5 Jun 2024 21:43:06 +0200 Subject: [PATCH] Update to 0.11.0 --- .SRCINFO | 6 +++--- PKGBUILD | 19 +++++++++++-------- 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index a270409..2f63a6b 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -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 diff --git a/PKGBUILD b/PKGBUILD index 008e15e..e7b76c7 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: exu 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 }