summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD6
2 files changed, 7 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e846a2a268cc..5b17703f130b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,14 @@
pkgbase = listen1-desktop-appimage
pkgdesc = One for all free music in China
- pkgver = 2.4.0
+ pkgver = 2.5.0
pkgrel = 1
url = https://listen1.github.io/listen1/
arch = x86_64
license = MIT
- noextract = Listen1_2.4.0_linux_x86_64.AppImage
+ noextract = Listen1_2.5.0_linux_x86_64.AppImage
options = !strip
- source = https://github.com/listen1/listen1_desktop/releases/download/v2.4.0/Listen1_2.4.0_linux_x86_64.AppImage
- sha256sums = cbe4a5aaf0d41b638e2aa4cf3dfd8a3e9ed9d51c01b7709db2fc9cb490707c51
+ source = https://github.com/listen1/listen1_desktop/releases/download/v2.5.0/Listen1_2.5.0_linux_x86_64.AppImage
+ sha256sums = 8c6a190fd0fa77ba5f0bf051f836bd9b706bea7c8aeb4436edb81f63e9bbe635
pkgname = listen1-desktop-appimage
diff --git a/PKGBUILD b/PKGBUILD
index 6f8055f1e835..071a08d55a0f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: gxb153 <maintainer at gmail dot com>
pkgname=listen1-desktop-appimage
-pkgver=2.4.0
+pkgver=2.5.0
pkgrel=1
pkgdesc="One for all free music in China"
arch=("x86_64")
@@ -10,14 +10,14 @@ license=("MIT")
noextract=("Listen1_${pkgver}_linux_x86_64.AppImage")
options=("!strip")
source=("https://github.com/listen1/listen1_desktop/releases/download/v${pkgver}/Listen1_${pkgver}_linux_x86_64.AppImage")
-sha256sums=("cbe4a5aaf0d41b638e2aa4cf3dfd8a3e9ed9d51c01b7709db2fc9cb490707c51")
+sha256sums=("8c6a190fd0fa77ba5f0bf051f836bd9b706bea7c8aeb4436edb81f63e9bbe635")
package() {
cd "${srcdir}"
mv "Listen1_${pkgver}_linux_x86_64.AppImage" "listen1.AppImage"
chmod a+x "listen1.AppImage"
${srcdir}/listen1.AppImage --appimage-extract
- sed -i 's/AppRun/env DESKTOPINTEGRATION=no "\/opt\/listen1\/listen1.AppImage" %U/' "squashfs-root/listen1.desktop"
+ sed -i "s/AppRun/env DESKTOPINTEGRATION=no \/opt\/${pkgname}\/listen1.AppImage %U/" "squashfs-root/listen1.desktop"
find "squashfs-root/usr/share/icons/hicolor" -type d -exec chmod 755 {} \;
install -d -m755 "${pkgdir}/usr/share/icons"