diff options
author | zxp19821005 | 2024-02-07 18:16:26 +0800 |
---|---|---|
committer | zxp19821005 | 2024-02-07 18:16:26 +0800 |
commit | e1a2ddf91aca3759743837b487f7143cdf5ce8d6 (patch) | |
tree | 0a0fd06674162b48f97092d75d9521505ffea969 | |
parent | 8bb18cc58812e47c220b277ffbc78164962b6143 (diff) | |
download | aur-e1a2ddf91aca3759743837b487f7143cdf5ce8d6.tar.gz |
update to 0.2.0
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | PKGBUILD | 8 | ||||
-rw-r--r-- | lyrically.sh | 9 |
3 files changed, 14 insertions, 15 deletions
@@ -1,19 +1,19 @@ pkgbase = lyrically-bin pkgdesc = Music player inspired by Lyric Speaker - pkgver = 0.1.0 + pkgver = 0.2.0 pkgrel = 1 url = https://github.com/CyanSalt/lyrically arch = x86_64 license = ISC makedepends = gendesk depends = electron28 - source = lyrically-0.1.0.zip::https://github.com/CyanSalt/lyrically/releases/download/v0.1.0/Lyrically-linux-x64.zip - source = lyrically-0.1.0.png::https://raw.githubusercontent.com/CyanSalt/lyrically/v0.1.0/resources/images/icon.png - source = LICENSE-0.1.0::https://raw.githubusercontent.com/CyanSalt/lyrically/v0.1.0/LICENSE + source = lyrically-0.2.0.zip::https://github.com/CyanSalt/lyrically/releases/download/v0.2.0/Lyrically-linux-x64.zip + source = lyrically-0.2.0.png::https://raw.githubusercontent.com/CyanSalt/lyrically/v0.2.0/resources/images/icon.png + source = LICENSE-0.2.0::https://raw.githubusercontent.com/CyanSalt/lyrically/v0.2.0/LICENSE source = lyrically.sh - sha256sums = 423c5e3763a68294fec232086f024ef5450df8880ac9cf01352d760bba78a214 + sha256sums = 11706f4ef803ea2c0b1d57152987e91c6a9d7bc4f031d90b73e74766a3a9cfab sha256sums = ab219244090109bd4c111ee2f8d574337bc668860f9e9678190f4591df4dec1a sha256sums = 9950b2ef9948d119f67c09e78478be5c96db2028bebf735ee60a9e3c5afe0bc0 - sha256sums = d4272fed78cdcacd9edfb019134ac485d65b43f4d8c7a4179edbaed56af9b231 + sha256sums = 0fb7b939a071f4a08476bdd5aa143d2aa8cd335c83309f9919be16cd5c3e2014 pkgname = lyrically-bin @@ -1,7 +1,7 @@ # Maintainer: zxp19821005 <zxp19821005 at 163 dot com> pkgname=lyrically-bin _pkgname=Lyrically -pkgver=0.1.0 +pkgver=0.2.0 _electronversion=28 pkgrel=1 pkgdesc="Music player inspired by Lyric Speaker" @@ -21,14 +21,14 @@ source=( "LICENSE-${pkgver}::https://raw.githubusercontent.com/CyanSalt/lyrically/v${pkgver}/LICENSE" "${pkgname%-bin}.sh" ) -sha256sums=('423c5e3763a68294fec232086f024ef5450df8880ac9cf01352d760bba78a214' +sha256sums=('11706f4ef803ea2c0b1d57152987e91c6a9d7bc4f031d90b73e74766a3a9cfab' 'ab219244090109bd4c111ee2f8d574337bc668860f9e9678190f4591df4dec1a' '9950b2ef9948d119f67c09e78478be5c96db2028bebf735ee60a9e3c5afe0bc0' - 'd4272fed78cdcacd9edfb019134ac485d65b43f4d8c7a4179edbaed56af9b231') + '0fb7b939a071f4a08476bdd5aa143d2aa8cd335c83309f9919be16cd5c3e2014') build() { sed -e "s|@electronversion@|${_electronversion}|" \ -e "s|@appname@|${pkgname%-bin}|g" \ - -e "s|@appasar@|app.asar|g" \ + -e "s|@runname@|app.asar|g" \ -i "${srcdir}/${pkgname%-bin}.sh" gendesk -f -n -q --categories "AudioVideo" --name "${_pkgname}" --exec "${pkgname%-bin} %U" } diff --git a/lyrically.sh b/lyrically.sh index aacd8f895847..f9ced1432cfc 100644 --- a/lyrically.sh +++ b/lyrically.sh @@ -1,15 +1,14 @@ #!/bin/sh set -e _APPDIR="/usr/lib/@appname@" -_ASAR="${_APPDIR}/@appasar@" +_RUNNAME="${_APPDIR}/@runname@" export PATH="${_APPDIR}:${PATH}" export LD_LIBRARY_PATH="${_APPDIR}/swiftshader:${_APPDIR}/lib:${LD_LIBRARY_PATH}" export ELECTRON_IS_DEV=0 export NODE_ENV=production cd "${_APPDIR}" if [[ $EUID -ne 0 ]] || [[ $ELECTRON_RUN_AS_NODE ]]; then - exec electron@electronversion@ "${_ASAR}" "$@" + exec electron@electronversion@ "${_RUNNAME}" "$@" || exit $? else - exec electron@electronversion@ "${_ASAR}" --no-sandbox "$@" -fi -exit
\ No newline at end of file + exec electron@electronversion@ "${_RUNNAME}" --no-sandbox "$@" || exit $? +fi
\ No newline at end of file |