summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorzhullyb2020-12-05 19:54:44 +0800
committerzhullyb2020-12-05 19:54:44 +0800
commit7fd7277e59aa5c9c124b2a26fafce51e22ccbedc (patch)
tree639c8d4989235fe77547cd3eb3a90285c1ca72ea
parentecf4903256118f76e8f4af7f2f2bb605dd9522c0 (diff)
downloadaur-7fd7277e59aa5c9c124b2a26fafce51e22ccbedc.tar.gz
Update to deepin-wine5
-rw-r--r--.INSTALL17
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
3 files changed, 7 insertions, 18 deletions
diff --git a/.INSTALL b/.INSTALL
index f92735979d5f..62ce1391cda6 100644
--- a/.INSTALL
+++ b/.INSTALL
@@ -2,23 +2,12 @@
post_install() {
sed "15a\export LC_CTYPE='zh_CN.UTF-8'" -i /opt/deepinwine/apps/Deepin-DingTalk/run.sh
-sed '16a\if [ ! -e /$HOME/.deepinwine/Deepin-Dingtalk/drive_c/windows/Fonts/wqy-microhei.ttc ]\nthen\n ln -sf /usr/share/fonts/wenquanyi/wqy-microhei/wqy-microhei.ttc /$HOME/.deepinwine/Deepin-DingTalk/drive_c/windows/Fonts/wqy-microhei.ttc\nfi\n' -i /opt/deepinwine/apps/Deepin-DingTalk/run.sh
-echo "*****************************************************************************************"
-echo " "
-echo " WARNING "
-echo "第一次打开钉钉会界面会有乱码,重新打开一次即可"
-echo "如果遇到图标消失(不显示),请在钉钉的设置中打开SVG支持"
-echo " "
-echo "*****************************************************************************************"
+sed -i "s|deepin-wine|deepin-wine5|g" /opt/deepinwine/apps/Deepin-DingTalk/run.sh
}
post_upgrade() {
-echo "*****************************************************************************************"
-echo " "
-echo "注:如果遇到图标变成口,请在钉钉的设置中打开SVG支持"
-echo "Note: If the icon becomes garbled, please turn on SVG support in the settings of dingtalk"
-echo " "
-echo "*****************************************************************************************"
+sed "15a\export LC_CTYPE='zh_CN.UTF-8'" -i /opt/deepinwine/apps/Deepin-DingTalk/run.sh
+sed -i "s|deepin-wine|deepin-wine5|g" /opt/deepinwine/apps/Deepin-DingTalk/run.sh
}
pre_remove() {
diff --git a/.SRCINFO b/.SRCINFO
index 7d47a8a7506e..3d8394e6d887 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,13 @@
pkgbase = deepin.com.dingtalk.com
pkgdesc = DingTalk Client on Deepin Wine
pkgver = 5.1.28.12
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/zhullyb/deepin.com.dingtalk.com
install = .INSTALL
arch = i686
arch = x86_64
license = custom
- depends = deepin-wine
+ depends = deepin-wine5
depends = wqy-microhei
source = https://github.com/zhullyb/deepin.com.dingtalk.com/releases/download/v5.1.28.12/deepin.com.dingtalk.com_5.1.28.12_i386.deb
md5sums = 491e2c6229575bc9170450d497d41896
diff --git a/PKGBUILD b/PKGBUILD
index e8b57ed46874..06eb040ed125 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,13 +2,13 @@
pkgname=deepin.com.dingtalk.com
pkgver=5.1.28.12
-pkgrel=1
+pkgrel=2
install=.INSTALL
pkgdesc="DingTalk Client on Deepin Wine"
arch=('i686' 'x86_64')
url="https://github.com/zhullyb/deepin.com.dingtalk.com"
license=('custom')
-depends=('deepin-wine' 'wqy-microhei')
+depends=('deepin-wine5' 'wqy-microhei')
source=("https://github.com/zhullyb/deepin.com.dingtalk.com/releases/download/v${pkgver}/deepin.com.dingtalk.com_${pkgver}_i386.deb")
md5sums=('491e2c6229575bc9170450d497d41896')
prepare() {