summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorzjuyk2021-09-06 19:02:55 +0800
committerzjuyk2021-09-06 19:02:55 +0800
commita08f37abc38020d0526ea4286195623283493b69 (patch)
treead6c072f2fa4af2d4d72be41cd0b346323f975d5 /PKGBUILD
parent39956b64398cece7bca79c1aa2542602a37ae730 (diff)
downloadaur-a08f37abc38020d0526ea4286195623283493b69.tar.gz
use local license file
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 81f104c3bcf..af2d5cdc5be 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,15 +14,16 @@ depends=("glu")
provides=('com.alibabainc.dingtalk' 'dingtalk')
conflicts=('com.alibabainc.dingtalk')
replaces=('com.alibabainc.dingtalk')
+# https://tms.dingtalk.com/markets/dingtalk/service-terms-zh md5 will change per download
source=("https://dtapp-pub.dingtalk.com/dingtalk-desktop/xc_dingtalk_update/linux_deb/Release/${_pkgname}_${pkgver}_amd64.deb"
- "service-terms-zh-${pkgver}::https://tms.dingtalk.com/markets/dingtalk/service-terms-zh"
+ "service-terms-zh"
"${_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=('c55d666652ad08c3a2bd0e10b469426f'
- "SKIP"
+ '55c7432e36da19b45102376dad9ebdf7'
'e1b984a024700a9ef5f77a1018a41f8e'
'0e255cd61852162548db96e46f1dda00')
@@ -44,7 +45,7 @@ package(){
install -Dm644 ${_pkgname}.desktop -t ${pkgdir}/usr/share/applications/
# license
- install -Dm644 service-terms-zh-${pkgver} ${pkgdir}/usr/share/licenses/${pkgname}/service-terms-zh.html
+ install -Dm644 service-terms-zh ${pkgdir}/usr/share/licenses/${pkgname}/service-terms-zh
rm ${pkgdir}/opt/apps/${_pkgname}/files/*/libm.so.6
}