summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO10
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD25
-rw-r--r--dingtalk.sh (renamed from dingtalk)0
4 files changed, 22 insertions, 17 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2d2585de9a4..5802cdc9720 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = dingtalk-bin
pkgdesc = 钉钉
- pkgver = 1.0.0.265
- pkgrel = 2
+ pkgver = 1.0.0.278
+ pkgrel = 1
url = https://gov.dingtalk.com
arch = x86_64
license = custom
@@ -10,10 +10,10 @@ pkgbase = dingtalk-bin
provides = dingtalk
conflicts = com.alibabainc.dingtalk
replaces = com.alibabainc.dingtalk
- source = https://dtapp-pub.dingtalk.com/dingtalk-desktop/xc_dingtalk_update/linux_deb/Release/com.alibabainc.dingtalk_1.0.0.265_amd64.deb
+ source = https://dtapp-pub.dingtalk.com/dingtalk-desktop/xc_dingtalk_update/linux_deb/Release/com.alibabainc.dingtalk_1.0.0.278_amd64.deb
source = com.alibabainc.dingtalk.desktop
- source = dingtalk
- md5sums = 75b576daa76dc0bbbae256ec06b5afd7
+ source = dingtalk.sh
+ md5sums = 0c4c02b9dad7de43d089454086a4af36
md5sums = e1b984a024700a9ef5f77a1018a41f8e
md5sums = 0e255cd61852162548db96e46f1dda00
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..831ba168e56
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+pkg/
+src/
+*.deb
+*.zst
diff --git a/PKGBUILD b/PKGBUILD
index e9d09218469..7bd2a1ca9b5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,25 +1,26 @@
# Maintainer: zhullyb <zhullyb [at] outlook dot com>
+# Maintainer: yjun <jerrysteve1101 at gmail dot com>
# Contributor: Bruce Zhang <zttt183525594@gmail.com>
pkgname=dingtalk-bin
-pkgver=1.0.0.265
-pkgrel=2
+_pkgname=com.alibabainc.dingtalk
+pkgver=1.0.0.278
+pkgrel=1
pkgdesc="钉钉"
arch=("x86_64")
url="https://gov.dingtalk.com"
license=("custom")
depends=("glu")
-options=()
provides=('com.alibabainc.dingtalk' 'dingtalk')
conflicts=('com.alibabainc.dingtalk')
replaces=('com.alibabainc.dingtalk')
-source=("https://dtapp-pub.dingtalk.com/dingtalk-desktop/xc_dingtalk_update/linux_deb/Release/com.alibabainc.dingtalk_${pkgver}_amd64.deb"
- "com.alibabainc.dingtalk.desktop"
- "dingtalk")
+source=("https://dtapp-pub.dingtalk.com/dingtalk-desktop/xc_dingtalk_update/linux_deb/Release/${_pkgname}_${pkgver}_amd64.deb"
+ "${_pkgname}.desktop"
+ "dingtalk.sh")
# DebSource & pkgvere can be get here: https://dtapp-pub.dingtalk.com/dingtalk-desktop/xc_dingtalk_update/linux_deb/Update/other/linux_dingtalk_update.json
-md5sums=('75b576daa76dc0bbbae256ec06b5afd7'
+md5sums=('0c4c02b9dad7de43d089454086a4af36'
'e1b984a024700a9ef5f77a1018a41f8e'
'0e255cd61852162548db96e46f1dda00')
@@ -31,13 +32,13 @@ prepare(){
package(){
cd ${srcdir}
- mkdir -p ${pkgdir}/opt/apps/com.alibabainc.dingtalk/files
- mv opt/apps/com.alibabainc.dingtalk/files/* ${pkgdir}/opt/apps/com.alibabainc.dingtalk/files
+ mkdir -p ${pkgdir}/opt/apps/${_pkgname}/files
+ mv opt/apps/${_pkgname}/files/* ${pkgdir}/opt/apps/${_pkgname}/files
mkdir -p ${pkgdir}/usr/bin
- install -Dm 755 ${srcdir}/dingtalk ${pkgdir}/usr/bin/dingtalk
+ install -Dm755 ${srcdir}/dingtalk.sh ${pkgdir}/usr/bin/dingtalk
- install -Dm644 com.alibabainc.dingtalk.desktop -t ${pkgdir}/usr/share/applications/
+ install -Dm644 ${_pkgname}.desktop -t ${pkgdir}/usr/share/applications/
- rm ${pkgdir}/opt/apps/com.alibabainc.dingtalk/files/*/libm.so.6
+ rm ${pkgdir}/opt/apps/${_pkgname}/files/*/libm.so.6
}
diff --git a/dingtalk b/dingtalk.sh
index bd69acb3e9c..bd69acb3e9c 100644
--- a/dingtalk
+++ b/dingtalk.sh