summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD8
2 files changed, 6 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e633703eecf..6b08759baff 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = dingtalk-bin
pkgdesc = 钉钉
pkgver = 1.2.0.132
- pkgrel = 1
+ pkgrel = 2
url = https://gov.dingtalk.com
arch = x86_64
license = custom
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