summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Zhong2022-06-16 20:06:19 +0800
committerAllen Zhong2022-06-16 20:06:19 +0800
commit8ecf84877044b5cacba0ca0ed6b728d92fea5e3f (patch)
treea5e1cfd4f1fffaf9e06e6c769cf07b61c24f2e39
parent62c77a098bcd550ad5e0c44813b0892d3aa6d57a (diff)
downloadaur-8ecf84877044b5cacba0ca0ed6b728d92fea5e3f.tar.gz
bump relver
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
2 files changed, 7 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b9e87493fce6..bb164239d549 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = feishu-bin
pkgdesc = Linux client of Feishu (Lark) from Bytedance.
pkgver = 5.9.18
- pkgrel = 1
+ pkgrel = 2
url = https://www.feishu.cn/
install = feishu-bin.install
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 6e9f1bc356ce..f52c9cc1ec95 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=5.9.18
#_pkgrel=24
_pkgtyp=stable
_pkghash=5db94058d7ad
-pkgrel=1
+pkgrel=2
pkgdesc="Linux client of Feishu (Lark) from Bytedance."
arch=('x86_64')
url="https://www.feishu.cn/"
@@ -27,12 +27,17 @@ package(){
# Modify files
cd "${pkgdir}"
ln -s bytedance-feishu-${_pkgtyp} usr/bin/feishu
+
sed -i "s/bytedance-feishu-${_pkgtyp}/feishu/g" "${pkgdir}/usr/share/applications/bytedance-feishu.desktop"
sed -i "s/bytedance-feishu/feishu/g" "${pkgdir}/usr/share/applications/bytedance-feishu.desktop"
sed -i 's/StartupNotify=true/StartupNotify=true\nStartupWMClass=feishu/g' "${pkgdir}/usr/share/applications/bytedance-feishu.desktop"
+
sed -i "s/bytedance-feishu/feishu/g" "${pkgdir}/usr/share/menu/bytedance-feishu.menu"
+
sed -i 's/bytedance-feishu/feishu/g' "${pkgdir}/usr/share/appdata/bytedance-feishu.appdata.xml"
+
sed -i 's/bytedance-feishu/feishu/g' "${pkgdir}/opt/bytedance/feishu/bytedance-feishu"
+
mv "${pkgdir}"/usr/share/menu/{bytedance-,}feishu.menu
mv "${pkgdir}"/usr/share/applications/{bytedance-,}feishu.desktop
mv "${pkgdir}"/usr/share/appdata/{bytedance-,}feishu.appdata.xml