summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Zhong2021-09-07 11:59:32 +0800
committerAllen Zhong2021-09-07 11:59:32 +0800
commit2c0852111778f4191f96f2058e24266fff144c7a (patch)
treedf433b5669ad43ef945953131dfeaf341bba9166
parent2c6a842f0b22cb279f254fdc7b598101155550d4 (diff)
downloadaur-2c0852111778f4191f96f2058e24266fff144c7a.tar.gz
fix binary name in shortcuts
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index dcd82491ae08..ef5b6aa20d21 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = feishu-bin
pkgdesc = Linux client of Feishu (Lark) from Bytedance.
pkgver = 4.8.0
- pkgrel = 1
+ pkgrel = 2
url = https://www.feishu.cn/
install = feishu-bin.install
arch = x86_64
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