summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorXuanwo2021-02-18 19:59:10 +0800
committerXuanwo2021-02-18 19:59:10 +0800
commit5b75c20b1878e0d33cd1e36daf0c28a16e1c74cd (patch)
tree9bc5b3444e5cea7281951f4fe10d3d593119a840 /PKGBUILD
parent9d8185b3c853b5896cfeb026899203d0022e7f5b (diff)
downloadaur-5b75c20b1878e0d33cd1e36daf0c28a16e1c74cd.tar.gz
Create shortcut
Signed-off-by: Xuanwo <xuanwo@archlinuxcn.org>
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 6a5dea03169..a9513e71434 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer Xuanwo <xuanwo@archlinucn.org>
pkgname=clickup
pkgver=2.0.21
-pkgrel=1
+pkgrel=2
pkgdesc="Desktop app for clickup.com"
arch=('x86_64')
url="https://clickup.com"
@@ -20,6 +20,7 @@ prepare() {
package() {
install -Dm755 $_filename "$pkgdir/opt/$_filename"
+ ln -s "$pkgdir/opt/${pkgname}/$_filename" "${pkgdir}/usr/bin/${_pkgname}"
install -Dm644 squashfs-root/clickup-desktop.desktop "$pkgdir/usr/share/applications/clickup.desktop"
install -Dm644 squashfs-root/clickup-desktop.png "$pkgdir/usr/share/icons/hicolor/512x512/apps/clickup-desktop.png"
chmod -R a+rX "$pkgdir/usr/share/icons/hicolor"