summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorzxp198210052024-04-01 12:52:41 +0800
committerzxp198210052024-04-01 12:52:41 +0800
commit4cb98c9aa986bed5a6d280eb38c41c0c38c498ac (patch)
tree78872d0351aa388d9f673ca0d5ac1c4b548b79cd
parente2f8b5b48f29c2c83188e9dfbadc5bd79e3b3b50 (diff)
downloadaur-4cb98c9aa986bed5a6d280eb38c41c0c38c498ac.tar.gz
update to 0.20.1
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD6
2 files changed, 7 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c7e4b600059a..bf8be6617405 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,17 +1,17 @@
pkgbase = alspotron-bin
pkgdesc = Shows the egg lyrics of the track, playing on Spotify / YouTube Music
- pkgver = 0.20.0
+ pkgver = 0.20.1
pkgrel = 1
url = https://github.com/organization/alspotron
arch = x86_64
license = Apache-2.0
depends = java-runtime
depends = electron29
- provides = alspotron=0.20.0
+ provides = alspotron=0.20.1
conflicts = alspotron
- source = alspotron-0.20.0.deb::https://github.com/organization/alspotron/releases/download/v0.20.0/alspotron_0.20.0_amd64.deb
+ source = alspotron-0.20.1.deb::https://github.com/organization/alspotron/releases/download/v0.20.1/alspotron_0.20.1_amd64.deb
source = alspotron.sh
- sha256sums = 207a9b1569a72a146680eb80e10b64161e3f5df7fbf4f745838934f3e96c59e5
+ sha256sums = a4f8d1d07f6c6414fc35f09bc85235dd746a9a62ee5e0c0b9464a29a2b3f1664
sha256sums = dc0c5ca385ad81a08315a91655c7c064b5bf110eada55e61265633ae198b39f8
pkgname = alspotron-bin
diff --git a/PKGBUILD b/PKGBUILD
index 54dcd00a5471..ee31325bfb3e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: zxp19821005 <zxp19821005 at 163 dot com>
pkgname=alspotron-bin
_pkgname=Alspotron
-pkgver=0.20.0
+pkgver=0.20.1
_electronversion=29
pkgrel=1
pkgdesc="Shows the egg lyrics of the track, playing on Spotify / YouTube Music"
@@ -18,13 +18,13 @@ source=(
"${pkgname%-bin}-${pkgver}.deb::${url}/releases/download/v${pkgver}/${pkgname%-bin}_${pkgver}_amd64.deb"
"${pkgname%-bin}.sh"
)
-sha256sums=('207a9b1569a72a146680eb80e10b64161e3f5df7fbf4f745838934f3e96c59e5'
+sha256sums=('a4f8d1d07f6c6414fc35f09bc85235dd746a9a62ee5e0c0b9464a29a2b3f1664'
'dc0c5ca385ad81a08315a91655c7c064b5bf110eada55e61265633ae198b39f8')
build() {
sed -e "s|@electronversion@|${_electronversion}|" \
-e "s|@appname@|${pkgname%-bin}|g" \
-e "s|@runname@|app|g" \
- -e "s|@options@||g" \
+ -e "s|@options@|env ELECTRON_OZONE_PLATFORM_HINT=auto|g" \
-i "${srcdir}/${pkgname%-bin}.sh"
bsdtar -xf "${srcdir}/data."*
sed "s|/opt/${_pkgname}/${pkgname%-bin}|${pkgname%-bin}|g" -i "${srcdir}/usr/share/applications/${pkgname%-bin}.desktop"