summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authoryjun2021-09-01 12:11:16 +0800
committeryjun2021-09-01 12:11:16 +0800
commit10deea6eadab838cfe0c91b508dcf97379b4cd69 (patch)
tree341d74ecfe4836887759a22d2c2f4a4919c2fc3a /PKGBUILD
parent68eff8cfad33377242f999156c03e588d5e134de (diff)
downloadaur-10deea6eadab838cfe0c91b508dcf97379b4cd69.tar.gz
license: add service-terms-zh
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD10
1 files changed, 8 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 7bd2a1ca9b5..04b17670349 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=dingtalk-bin
_pkgname=com.alibabainc.dingtalk
pkgver=1.0.0.278
-pkgrel=1
+pkgrel=2
pkgdesc="钉钉"
arch=("x86_64")
url="https://gov.dingtalk.com"
@@ -15,12 +15,14 @@ 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/${_pkgname}_${pkgver}_amd64.deb"
+ "service-terms-zh-${pkgver}::https://tms.dingtalk.com/markets/dingtalk/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=('0c4c02b9dad7de43d089454086a4af36'
+ '06f004ab10031adc090c19821d9aee3d'
'e1b984a024700a9ef5f77a1018a41f8e'
'0e255cd61852162548db96e46f1dda00')
@@ -35,10 +37,14 @@ package(){
mkdir -p ${pkgdir}/opt/apps/${_pkgname}/files
mv opt/apps/${_pkgname}/files/* ${pkgdir}/opt/apps/${_pkgname}/files
- mkdir -p ${pkgdir}/usr/bin
+ # binary wrapper
install -Dm755 ${srcdir}/dingtalk.sh ${pkgdir}/usr/bin/dingtalk
+ # desktop enrty
install -Dm644 ${_pkgname}.desktop -t ${pkgdir}/usr/share/applications/
+ # license
+ install -Dm644 service-terms-zh-${pkgver} ${pkgdir}/usr/share/licenses/${pkgname}/service-terms-zh
+
rm ${pkgdir}/opt/apps/${_pkgname}/files/*/libm.so.6
}