summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorzhanghua0002021-11-19 14:29:04 +0800
committerzhanghua0002021-11-19 14:29:04 +0800
commit0e92d4a7e893024af405b11277017836cdf55e5d (patch)
tree856e24b5ef1cd15dfe3a7cd5a7d093843e89771a
parent3977f43433d83f72981e79d2b881bb8bd062d8a3 (diff)
downloadaur-0e92d4a7e893024af405b11277017836cdf55e5d.tar.gz
Move dependency electron to icalingua-electron-git because icalingua-git will be packed with an electron
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD11
2 files changed, 8 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2049f9efd74..82f266f3753 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = icalingua-git
pkgdesc = A Linux client for QQ and more
- pkgver = 2.3.2_70_gcf35cbb
+ pkgver = 2.4.3
pkgrel = 1
url = https://github.com/Icalingua/Icalingua
arch = aarch64
@@ -10,7 +10,6 @@ pkgbase = icalingua-git
makedepends = yarn
makedepends = git
depends = ffmpeg
- depends = electron
depends = libappindicator-gtk3
optdepends = mongodb-bin: Provides storage
optdepends = redis: Provides storage
@@ -27,6 +26,9 @@ pkgname = icalingua-git
pkgname = icalingua-electron-git
pkgdesc = A Linux client for QQ and more with system electron
+ depends = ffmpeg
+ depends = libappindicator-gtk3
+ depends = electron13
provides = icalingua-electron
provides = electron-qq
conflicts = icalingua
diff --git a/PKGBUILD b/PKGBUILD
index 1587b4df0f4..2ead506962c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,11 +1,11 @@
# Maintainer: ZhangHua <zhanghuadedn at gmail dot com>
# Maintainer: Clansty <i at gao4 dot pw>
pkgname=("icalingua-git" "icalingua-electron-git")
-pkgver=2.3.2_70_gcf35cbb
+pkgver=2.4.3
pkgrel=1
pkgdesc='A Linux client for QQ and more'
license=('GPL')
-depends=('ffmpeg' 'electron' 'libappindicator-gtk3')
+depends=('ffmpeg' 'libappindicator-gtk3')
makedepends=('yarn' 'git')
optdepends=('mongodb-bin: Provides storage'
'redis: Provides storage')
@@ -53,6 +53,7 @@ package_icalingua-git(){
package_icalingua-electron-git(){
conflicts=("icalingua")
provides=("icalingua-electron" "electron-qq")
+ depends+=('electron13')
pkgdesc='A Linux client for QQ and more with system electron'
case ${CARCH} in
"x86_64")
@@ -68,12 +69,8 @@ package_icalingua-electron-git(){
mkdir -p "${pkgdir}/usr/bin"
cd "${srcdir}/Icalingua/icalingua/build/linux${_arch}unpacked"
install -Dm644 "resources/app.asar" "${pkgdir}/usr/share/icalingua/app.asar"
- cat>"${pkgdir}/usr/bin/icalingua"<<EOF
-#!/usr/bin/env bash
-electron /usr/share/icalingua/app.asar $@
-EOF
- chmod +x "${pkgdir}/usr/bin/icalingua"
cd "${srcdir}/Icalingua/pkgres"
install -Dm644 512x512.png "${pkgdir}/usr/share/icons/hicolor/512x512/apps/icalingua.png"
install -Dm644 icalingua.desktop "${pkgdir}/usr/share/applications/icalingua.desktop"
+ install -Dm755 icalingua "${pkgdir}/usr/bin/icalingua"
}