summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authoryjun2021-09-01 11:37:51 +0800
committeryjun2021-09-01 11:37:51 +0800
commit68eff8cfad33377242f999156c03e588d5e134de (patch)
tree398e3a63f9d3b15d04d2d4aa5b94de980bf372a4 /PKGBUILD
parent96a152f917f51f8d31dd6f1f74523396d455b3ab (diff)
downloadaur-68eff8cfad33377242f999156c03e588d5e134de.tar.gz
udpkg: dingtalk-bin 1.0.0.278
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD25
1 files changed, 13 insertions, 12 deletions
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
}