summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD13
2 files changed, 11 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 12f1e456f29..d86814dab8f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = dingtalk-bin
pkgdesc = 钉钉
- pkgver = 1.4.0.20422
+ pkgver = 1.4.0.20909
pkgrel = 1
url = https://www.dingtalk.com/
arch = x86_64
@@ -12,14 +12,14 @@ pkgbase = dingtalk-bin
provides = dingtalk
conflicts = com.alibabainc.dingtalk
replaces = com.alibabainc.dingtalk
- source = dingtalk_1.4.0.20422-x86_64.deb::https://dtapp-pub.dingtalk.com/dingtalk-desktop/xc_dingtalk_update/linux_deb/Release/com.alibabainc.dingtalk_1.4.0.20422_amd64.deb
+ source = dingtalk_1.4.0.20909-x86_64.deb::https://dtapp-pub.dingtalk.com/dingtalk-desktop/xc_dingtalk_update/linux_deb/Release/com.alibabainc.dingtalk_1.4.0.20909_amd64.deb
source = service-terms-zh
source = com.alibabainc.dingtalk.desktop
source = dingtalk.sh
source = com.alibabainc.dingtalk.svg
source = https://archive.archlinux.org/packages/c/cairo/cairo-1.17.4-5-x86_64.pkg.tar.zst
source = xdg-open.sh
- sha512sums = cb481a6be6d4514763a7c397b9a68cff7f1f537d9e84fe62c257a1469bdead8b5430571d03e69467ec75a49e5733767700bcc5c4ef086326e5f1567d0a0cc843
+ sha512sums = acf4150268e88ea6d3c2c7c6359417143c22a4ac6a5c9f853f05bbfe9798e3962a6aa9ec7c7f4a3708e1ff1b89e726ceb75b48483bf5e4ff32b926e44ffce761
sha512sums = b83d493ed68be0f5a6b851fd93d819bb3a6e62feeb71a5bef10bad24b5ea8f3cf09deea4f31ed727449888a6eae1be99fa9cf263bc921cb8bb2958e2f37a7d64
sha512sums = c8570ec4cd978e26ac622a83db053a0555324752f5000dc5b3cd680d782138e8ef856f09ec9b7850e04e1faa1e39de94dabeb16fbfbe0fd44af43247b30e8b2f
sha512sums = a974db88cf2c0a7cac703dab5b4a84873273cd04a7904124122fde8bab7f9773704d3041816e0096bd3f7e383c012d3ff1e9b0482e241c2dd223ebb759734a88
diff --git a/PKGBUILD b/PKGBUILD
index 6b470039f81..a652a92969d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=dingtalk-bin
_pkgname=dingtalk
_pkgname2=com.alibabainc.dingtalk
-pkgver=1.4.0.20422
+pkgver=1.4.0.20909
pkgrel=1
pkgdesc="钉钉"
arch=("x86_64")
@@ -30,7 +30,7 @@ source=("${_pkgname}_${pkgver}-${arch}.deb::https://dtapp-pub.dingtalk.com/dingt
# DebSource & pkgver can be get here: https://dtapp-pub.dingtalk.com/dingtalk-desktop/xc_dingtalk_update/linux_deb/Update/other/linux_dingtalk_update.json
-sha512sums=('cb481a6be6d4514763a7c397b9a68cff7f1f537d9e84fe62c257a1469bdead8b5430571d03e69467ec75a49e5733767700bcc5c4ef086326e5f1567d0a0cc843'
+sha512sums=('acf4150268e88ea6d3c2c7c6359417143c22a4ac6a5c9f853f05bbfe9798e3962a6aa9ec7c7f4a3708e1ff1b89e726ceb75b48483bf5e4ff32b926e44ffce761'
'b83d493ed68be0f5a6b851fd93d819bb3a6e62feeb71a5bef10bad24b5ea8f3cf09deea4f31ed727449888a6eae1be99fa9cf263bc921cb8bb2958e2f37a7d64'
'c8570ec4cd978e26ac622a83db053a0555324752f5000dc5b3cd680d782138e8ef856f09ec9b7850e04e1faa1e39de94dabeb16fbfbe0fd44af43247b30e8b2f'
'a974db88cf2c0a7cac703dab5b4a84873273cd04a7904124122fde8bab7f9773704d3041816e0096bd3f7e383c012d3ff1e9b0482e241c2dd223ebb759734a88'
@@ -57,15 +57,15 @@ package(){
# desktop enrty
install -Dm644 ${_pkgname2}.desktop -t ${pkgdir}/usr/share/applications/
-
+
install -Dm644 ${srcdir}/${_pkgname2}.svg ${pkgdir}/usr/share/icons/hicolor/scalable/apps/${_pkgname}.svg
# license
install -Dm644 service-terms-zh ${pkgdir}/usr/share/licenses/${_pkgname}/service-terms-zh.html
-
+
# fix chinese input in workbench
rm -rf ${pkgdir}/opt/${_pkgname}/release/libgtk-x11-2.0.so.*
-
+
# fix cairo
cd $srcdir/usr/lib
install -Dm755 libcairo.so.2 -t ${pkgdir}/usr/lib/dingtalk
@@ -74,4 +74,7 @@ package(){
install -Dm755 $srcdir/xdg-open.sh ${pkgdir}/opt/dingtalk/release/xdg-open
rm -rf ${pkgdir}/opt/${_pkgname}/release/{libm.so.6,Resources/{i18n/tool/*.exe,qss/mac},libstdc*}
+
+ # remove unused lib
+ rm -rf ${pkgdir}/opt/${_pkgname}/release/{libcurl.so.4,libz*}
}