summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorXuanwo2021-02-19 01:41:13 +0800
committerXuanwo2021-02-19 01:41:13 +0800
commit11f0e04bd1ae362383add707b6e0cff37f4f1bef (patch)
treea2cfa70efead3e0b5f7ef98497263efb9d0ef9bf
parent5b75c20b1878e0d33cd1e36daf0c28a16e1c74cd (diff)
downloadaur-11f0e04bd1ae362383add707b6e0cff37f4f1bef.tar.gz
Fix typo in PKGBUILD
Signed-off-by: Xuanwo <xuanwo@archlinuxcn.org>
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
2 files changed, 6 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8ff72284bdb..423ce714547 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = clickup
pkgdesc = Desktop app for clickup.com
pkgver = 2.0.21
- pkgrel = 2
+ pkgrel = 3
url = https://clickup.com
arch = x86_64
license = custom
diff --git a/PKGBUILD b/PKGBUILD
index a9513e71434..e4c257ec181 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer Xuanwo <xuanwo@archlinucn.org>
pkgname=clickup
pkgver=2.0.21
-pkgrel=2
+pkgrel=3
pkgdesc="Desktop app for clickup.com"
arch=('x86_64')
url="https://clickup.com"
@@ -20,7 +20,10 @@ prepare() {
package() {
install -Dm755 $_filename "$pkgdir/opt/$_filename"
- ln -s "$pkgdir/opt/${pkgname}/$_filename" "${pkgdir}/usr/bin/${_pkgname}"
+
+ mkdir -p "${pkgdir}/usr/bin"
+ 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"