summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAllen Zhong2021-09-07 11:59:32 +0800
committerAllen Zhong2021-09-07 11:59:32 +0800
commit2c0852111778f4191f96f2058e24266fff144c7a (patch)
treedf433b5669ad43ef945953131dfeaf341bba9166 /PKGBUILD
parent2c6a842f0b22cb279f254fdc7b598101155550d4 (diff)
downloadaur-2c0852111778f4191f96f2058e24266fff144c7a.tar.gz
fix binary name in shortcuts
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 412e845cc0bc..0667a3c2ea84 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=feishu-bin
pkgver=4.8.0
_pkgrel=24
_pkgtyp=beta
-pkgrel=1
+pkgrel=2
pkgdesc="Linux client of Feishu (Lark) from Bytedance."
arch=('x86_64')
url="https://www.feishu.cn/"
@@ -27,8 +27,8 @@ package(){
# Modify files
cd "${pkgdir}"
ln -s bytedance-feishu-${_pkgtyp} usr/bin/feishu
- sed -i 's/bytedance-feishu-stable/feishu/g' "${pkgdir}/usr/share/applications/bytedance-feishu.desktop"
- sed -i 's/bytedance-feishu-stable/feishu/g' "${pkgdir}/usr/share/menu/bytedance-feishu.menu"
+ 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/menu/bytedance-feishu.menu"
sed -i 's/bytedance-feishu/feishu/g' "${pkgdir}/usr/share/appdata/bytedance-feishu.appdata.xml"
mv "${pkgdir}"/usr/share/menu/{bytedance-,}feishu.menu
mv "${pkgdir}"/usr/share/applications/{bytedance-,}feishu.desktop