summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorXuanwo2021-02-18 19:59:10 +0800
committerXuanwo2021-02-18 19:59:10 +0800
commit5b75c20b1878e0d33cd1e36daf0c28a16e1c74cd (patch)
tree9bc5b3444e5cea7281951f4fe10d3d593119a840
parent9d8185b3c853b5896cfeb026899203d0022e7f5b (diff)
downloadaur-5b75c20b1878e0d33cd1e36daf0c28a16e1c74cd.tar.gz
Create shortcut
Signed-off-by: Xuanwo <xuanwo@archlinuxcn.org>
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD3
2 files changed, 3 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 805ec74b09f..8ff72284bdb 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = clickup
pkgdesc = Desktop app for clickup.com
pkgver = 2.0.21
- pkgrel = 1
+ pkgrel = 2
url = https://clickup.com
arch = x86_64
license = custom
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"