summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD11
2 files changed, 8 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5ecc8964afb4..8c3fb6af781c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = deepin-wxwork
pkgdesc = Tencent Weixin Work Client on Deepin Wine
pkgver = 2.8.10.2010deepin0
- pkgrel = 1
+ pkgrel = 2
url = http://www.deepin.com/
arch = x86_64
license = custom
@@ -10,7 +10,7 @@ pkgbase = deepin-wxwork
source = https://mirrors.tuna.tsinghua.edu.cn/deepin/pool/non-free/d/deepin.com.weixin.work/deepin.com.weixin.work_2.8.10.2010deepin0_i386.deb
source = run.sh
md5sums = a82495943fe4b748cf2b740704f1ec45
- md5sums = 54e20108bcca254aeea3b37ceb74b5b2
+ md5sums = df6b75140bf0d043eea0c7b5696d4704
pkgname = deepin-wxwork
diff --git a/PKGBUILD b/PKGBUILD
index bbd965556189..80ee64a978bf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=deepin-wxwork
pkgver=2.8.10.2010deepin0
-pkgrel=1
+pkgrel=2
pkgdesc="Tencent Weixin Work Client on Deepin Wine"
arch=("x86_64")
url="http://www.deepin.com/"
@@ -19,9 +19,10 @@ md5sums=('a82495943fe4b748cf2b740704f1ec45'
'df6b75140bf0d043eea0c7b5696d4704')
package() {
- cd $srcdir
- tar -xvf data.tar.xz -C $pkgdir
- cd $pkgdir
+ bsdtar -xvf $srcdir/data.tar.xz -C $pkgdir
+ rm -f $pkgdir/opt/deepinwine/apps/Deepin-WXWork/deepin.com.weixin.work.desktop
install -Dm755 $srcdir/run.sh $pkgdir/opt/deepinwine/apps/Deepin-WXWork/run.sh
- chmod -x usr/share/applications/deepin.com.weixin.work.desktop
+ cd $pkgdir/usr/share/applications/
+ sed -i "s/Categories=.*$/Categories=Network;/" deepin.com.weixin.work.desktop
+ chmod 644 deepin.com.weixin.work.desktop
}