diff options
author | ChuJian | 2022-02-11 15:13:09 +0800 |
---|---|---|
committer | ChuJian | 2022-02-11 15:13:09 +0800 |
commit | 861d8c791dfd4046db0785ebaa1abc8daa43ef8c (patch) | |
tree | 799eba5e815cdf752643ce009e4e0bdd2c1c4de1 | |
parent | f1f06e31b43efa56265959c27c1b0df58b3491af (diff) | |
download | aur-861d8c791dfd4046db0785ebaa1abc8daa43ef8c.tar.gz |
update v2.21.7
-rwxr-xr-x[-rw-r--r--] | .SRCINFO | 10 | ||||
-rwxr-xr-x[-rw-r--r--] | .gitignore | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | PKGBUILD | 19 |
3 files changed, 15 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO index c4643ea9222f..5b125fa0f11f 100644..100755 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = listen1-desktop pkgdesc = one for all free music in china (Build from source) - pkgver = 2.21.6 + pkgver = 2.21.7 pkgrel = 1 url = https://github.com/listen1/listen1_desktop arch = x86_64 @@ -8,12 +8,12 @@ pkgbase = listen1-desktop license = MIT makedepends = npm makedepends = git - depends = electron + depends = electron13 provides = listen1 conflicts = listen1 - source = listen1-desktop-2.21.6.src.tar.gz::https://github.com/listen1/listen1_desktop/archive/v2.21.6.tar.gz - source = git+https://github.com/listen1/listen1_chrome_extension.git#commit=f6c00fde3aa48cefdc2928ec81da2231e3da9957 - sha256sums = e76ba5ce2b23ba9f37591f2e6141965b92c940c0237ef5d9e07e87b64a26ba31 + source = listen1-desktop-2.21.7.src.tar.gz::https://github.com/listen1/listen1_desktop/archive/v2.21.7.tar.gz + source = git+https://github.com/listen1/listen1_chrome_extension.git#commit=445b3293f62ccf45b514eca35fa14c63a051810f + sha256sums = babe1255bf1d74c261bb6d82fb94f2128c6f1a0b52220d2bbce5817e19bb0a7e sha256sums = SKIP pkgname = listen1-desktop diff --git a/.gitignore b/.gitignore index a98696f1d119..a98696f1d119 100644..100755 --- a/.gitignore +++ b/.gitignore diff --git a/PKGBUILD b/PKGBUILD index 47603d95e5da..eb7954ad3aa5 100644..100755 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,14 +1,15 @@ -# Maintainer: JinguTech <xiuluo.android at gmail dot com> +# Maintainer: ChuJian <2474681296 at qq dot com> +# Contributor: jingutech # Contributor: Bruce Zhang pkgname=listen1-desktop -pkgver=2.21.6 +pkgver=2.21.7 pkgrel=1 -listen1_commit=f6c00fde3aa48cefdc2928ec81da2231e3da9957 +listen1_commit=445b3293f62ccf45b514eca35fa14c63a051810f pkgdesc="one for all free music in china (Build from source)" arch=('x86_64' 'i686') url="https://github.com/listen1/listen1_desktop" license=('MIT') -depends=('electron') +depends=('electron13') makedepends=('npm' 'git') provides=('listen1') conflicts=('listen1') @@ -16,13 +17,13 @@ source=( "$pkgname-$pkgver.src.tar.gz::https://github.com/listen1/listen1_desktop/archive/v$pkgver.tar.gz" "git+https://github.com/listen1/listen1_chrome_extension.git#commit=$listen1_commit" ) -sha256sums=('e76ba5ce2b23ba9f37591f2e6141965b92c940c0237ef5d9e07e87b64a26ba31' +sha256sums=('babe1255bf1d74c261bb6d82fb94f2128c6f1a0b52220d2bbce5817e19bb0a7e' 'SKIP') prepare() { cd "${pkgname/-/_}-$pkgver" - electronDist="\/usr\/lib\/electron" - electronVersion="tail /usr/lib/electron/version" + electronDist="\/usr\/lib\/electron13" + electronVersion="tail /usr/lib/electron13/version" sed -i "s#\"productName\": \"Listen1\",/\"productName\": \"Listen1\",\"electronDist\": \"$electronDist\",\"electronVersion\": \"$electronVersion\",##" package.json rmdir app/listen1_chrome_extension cp -r "$srcdir/listen1_chrome_extension" app/listen1_chrome_extension @@ -42,7 +43,7 @@ package() { # Install start script echo "#!/usr/bin/env sh -exec electron /usr/share/listen1/app.asar" > "$srcdir/listen1.sh" +exec /usr/lib/electron13/electron /usr/share/listen1/app.asar" > "$srcdir/listen1.sh" install -Dm755 "$srcdir/listen1.sh" "$pkgdir/usr/bin/listen1" # Install desktop file @@ -54,7 +55,7 @@ Terminal=false Type=Application Icon=listen1 StartupWMClass=Listen1 -X-AppImage-Version=2.21.6 +X-AppImage-Version=2.21.7 Categories=Utility; X-AppImage-BuildId=1HvKDJ3EUJMJwm6YxKB8wQfQx3p " > "$srcdir/listen1.desktop" |