diff options
author | sukanka | 2023-07-16 20:38:08 +0800 |
---|---|---|
committer | sukanka | 2023-07-16 20:38:08 +0800 |
commit | 9a2b0acff7c2cf5912c408f0a4c2d8aa69963780 (patch) | |
tree | bf1501c4f4a91d8fbb1d855a65444125a249dd1e | |
parent | 2dffcfd673ab7f803a2475ef98dad558c3af3468 (diff) | |
download | aur-9a2b0acff7c2cf5912c408f0a4c2d8aa69963780.tar.gz |
switch to electron25
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 11 | ||||
-rw-r--r-- | qqmusic.sh | 3 |
3 files changed, 12 insertions, 10 deletions
@@ -1,19 +1,19 @@ pkgbase = qqmusic-electron pkgdesc = Tencent QQMusic, Run with system Electron. pkgver = 1.1.5 - pkgrel = 7 + pkgrel = 8 url = https://y.qq.com/ arch = any license = CC0-1.0 makedepends = asar - depends = electron22 + depends = electron provides = qqmusic conflicts = qqmusic-bin - source = https://test.mini-proxy.mivm.cn/qqmusic-electron/qqmusic_1.1.5-7.asar + source = https://test.mini-proxy.mivm.cn/qqmusic-electron/qqmusic_1.1.5-8.asar source = qqmusic.desktop source = qqmusic.sh sha512sums = 1626b3d023ff2b6a34a9a60ba1b90cfd10f9f623d7750c942227696f45da7a2f0f5eeb697c003ac2286a4251521ee3e4b555b044fbba22c6a33a0198cad8b040 sha512sums = a872d410a02700b66ae9c55ee10a59bc6831caf403f3e62a96b7baa3ea39a8d239a1b829d2b13db4947b97daa9b9eb588deeea05ed125a6ac6892f43d6aa300f - sha512sums = 1f40204a43147d379b6037b4d88a3353ba693bc709344e402bc06018217177fe6f0570d97363d3d26f8e922c4b656bacfa2c4b6ff4707b48aadfe24f60235de5 + sha512sums = 609633590f7b00afc9368c0ff7f63d1fcce77e3642a6085514334b6f26d96be1f8f1243c1ddae62b1ecb03cf8c25779446b74af961276311bd178473370afddc pkgname = qqmusic-electron @@ -3,12 +3,13 @@ pkgname=qqmusic-electron _pkgname=qqmusic pkgver=1.1.5 -pkgrel=7 +pkgrel=8 pkgdesc="Tencent QQMusic, Run with system Electron." arch=('any') url="https://y.qq.com/" license=('CC0-1.0') -depends=('electron22') +_electron=electron +depends=(${_electron}) makedepends=('asar') provides=("$_pkgname") conflicts=('qqmusic-bin') @@ -19,19 +20,19 @@ source=( ) sha512sums=('1626b3d023ff2b6a34a9a60ba1b90cfd10f9f623d7750c942227696f45da7a2f0f5eeb697c003ac2286a4251521ee3e4b555b044fbba22c6a33a0198cad8b040' 'a872d410a02700b66ae9c55ee10a59bc6831caf403f3e62a96b7baa3ea39a8d239a1b829d2b13db4947b97daa9b9eb588deeea05ed125a6ac6892f43d6aa300f' - '1f40204a43147d379b6037b4d88a3353ba693bc709344e402bc06018217177fe6f0570d97363d3d26f8e922c4b656bacfa2c4b6ff4707b48aadfe24f60235de5') + '609633590f7b00afc9368c0ff7f63d1fcce77e3642a6085514334b6f26d96be1f8f1243c1ddae62b1ecb03cf8c25779446b74af961276311bd178473370afddc') prepare() { cd "${srcdir}" asar ef qqmusic_${pkgver}-${pkgrel}.asar logo.png + sed -i "s|__ELECTRON__|${_electron}|g" ${_pkgname}.sh } package(){ cd "${srcdir}" - + install -Dm755 ${_pkgname}.sh "${pkgdir}/usr/bin/qqmusic" install -Dm644 qqmusic_${pkgver}-${pkgrel}.asar "${pkgdir}/usr/lib/qqmusic/app.asar" install -Dm644 ${_pkgname}.desktop "${pkgdir}/usr/share/applications/qqmusic.desktop" install -Dm644 logo.png "${pkgdir}/usr/share/pixmaps/qqmusic.png" } - diff --git a/qqmusic.sh b/qqmusic.sh index 12c3da3b6e89..6f4fd4a84276 100644 --- a/qqmusic.sh +++ b/qqmusic.sh @@ -1,2 +1,3 @@ #!/usr/bin/env bash -exec /usr/bin/electron22 /usr/lib/qqmusic/app.asar "$@" +# DO NOT EDIT, it's updated in PKGBUILD +exec /usr/bin/__ELECTRON__ /usr/lib/qqmusic/app.asar "$@" |