diff options
author | Allen Zhong | 2021-09-07 11:59:32 +0800 |
---|---|---|
committer | Allen Zhong | 2021-09-07 11:59:32 +0800 |
commit | 2c0852111778f4191f96f2058e24266fff144c7a (patch) | |
tree | df433b5669ad43ef945953131dfeaf341bba9166 | |
parent | 2c6a842f0b22cb279f254fdc7b598101155550d4 (diff) | |
download | aur-2c0852111778f4191f96f2058e24266fff144c7a.tar.gz |
fix binary name in shortcuts
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 4 insertions, 4 deletions
@@ -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 @@ -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 |