summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 8d4dea0e252..67e49c69a95 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=dingtalk-bin
_pkgname=dingtalk
_pkgname2=com.alibabainc.dingtalk
pkgver=1.2.0.132
-pkgrel=1
+pkgrel=2
pkgdesc="钉钉"
arch=("x86_64")
url="https://gov.dingtalk.com"
@@ -49,8 +49,10 @@ package(){
# desktop enrty
install -Dm644 ${_pkgname2}.desktop -t ${pkgdir}/usr/share/applications/
- # icons
- install -Dm644 opt/apps/${_pkgname2}/files/logo.ico ${pkgdir}/usr/share/icons/hicolor/scalable/apps/${_pkgname}.ico
+ # icons
+ # extract single image of size 48x48
+ icotool -x -i 3 opt/apps/${_pkgname2}/files/logo.ico -o .
+ install -Dm644 logo_3_48x48x32.png ${pkgdir}/usr/share/pixmaps/${_pkgname}.png
# license
install -Dm644 service-terms-zh ${pkgdir}/usr/share/licenses/${_pkgname}/service-terms-zh.html