Package Details: clickup 2.0.20-1

Git Clone URL: https://aur.archlinux.org/clickup.git (read-only, click to copy)
Package Base: clickup
Description: Desktop app for clickup.com
Upstream URL: https://clickup.com
Licenses: custom
Submitter: xuanwo
Maintainer: xuanwo
Last Packager: xuanwo
Votes: 3
Popularity: 0.55
First Submitted: 2020-04-17 08:33
Last Updated: 2020-10-08 09:21

Latest Comments

xuanwo commented on 2020-10-08 09:18

@ulidtko, thanks for your great patch!

ulidtko commented on 2020-10-07 20:38

Hi @xuanwo, please consider the following patch.

From: Max Ulidtko <ulidtko@gmail.com>
Date: Wed, 7 Oct 2020 19:55:34 +0300
Subject: [PATCH] Update to 2.0.20, fix icon, reduce download size

URL changed to GitHub Releases because the x86_64 AppImage is
published there but not on attachments3.clickup.com
(where only the i386+x86_64 zip is available)
 - this reduces download size 2x
 - this also allows direct match of release checksum against
   latest-linux.yml

The upstream icon is installed in bogus location (0x0 size?..)
Fix it by installing to 512x512 as appropriate -- this makes the icon
appear normal in Cinnamon and not garbled or empty.

DESKTOPINTEGRATION=0 removed because it does not look used by the app,
does not seem to make any difference, and is silly in general
(unless there is a real reason for it which I don't see).
Ditto for APPIMAGELAUNCHER_DISABLE=1.

%U added back to Exec line to fix clickup:// URL handling (if any).
---
 .SRCINFO |  6 +++---
 PKGBUILD | 16 ++++++++--------
 2 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/.SRCINFO b/.SRCINFO
index 6d736fc..39d1306 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,14 @@
 pkgbase = clickup
    pkgdesc = Desktop app for clickup.com
-   pkgver = 2.0.17
+   pkgver = 2.0.20
    pkgrel = 1
    url = https://clickup.com
    arch = x86_64
    license = custom
    depends = fuse2
    options = !strip
-   source = https://attachments3.clickup.com/desktop/clickup-desktop-2.0.17-linux.zip
-   sha256sums = 708b6c33d787ded3fba197fffda083df7700e674c69ac1fef7c1f4f5723387bc
+   source = https://github.com/clickup/clickup-release/releases/download/v2.0.20/clickup-desktop-2.0.20-x86_64.AppImage
+   sha512sums = ad6a2ab6bff8d1b85d45b2e95017485000bf39f1ab45bec4fc950125a36d902b0b7c8c39ba0ae0bd9fe99a9a378d624b12538f2e66e6ca71376b49641a7bf632

 pkgname = clickup

diff --git a/PKGBUILD b/PKGBUILD
index 4d56f84..bea4534 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,30 +1,30 @@
 # Maintainer Xuanwo <xuanwo@archlinucn.org>
 pkgname=clickup
-pkgver=2.0.17
+pkgver=2.0.20
 pkgrel=1
 pkgdesc="Desktop app for clickup.com"
 arch=('x86_64')
 url="https://clickup.com"
 license=('custom')
 depends=('fuse2')
-_dirname="$pkgname-desktop-$pkgver-linux"
 _filename="$pkgname-desktop-$pkgver-x86_64.AppImage"
-_downloadname="$pkgname-desktop-$pkgver-linux.zip"
+source=("https://github.com/clickup/clickup-release/releases/download/v${pkgver}/${_filename}")
 options=('!strip')
-source=("https://attachments3.clickup.com/desktop/$_downloadname")

 prepare() {
   rm -rf squashfs-root
   chmod +x $_filename
   ./$_filename --appimage-extract
-  sed -i -e "s|Exec=.\+|Exec=env APPIMAGELAUNCHER_DISABLE=1 DESKTOPINTEGRATION=0 /opt/$_filename|" squashfs-root/clickup-desktop.desktop
+  sed -i -e "s|Exec=.\+|Exec=/opt/$_filename %U|" squashfs-root/clickup-desktop.desktop
 }

 package() {
   install -Dm755 $_filename "$pkgdir/opt/$_filename"
   install -Dm644 squashfs-root/clickup-desktop.desktop "$pkgdir/usr/share/applications/clickup.desktop"
-  install -dm755 "$pkgdir/usr/share/icons/hicolor"
-  cp -av squashfs-root/usr/share/icons/hicolor/* "$pkgdir/usr/share/icons/hicolor/"
+  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"
 }
-sha256sums=('708b6c33d787ded3fba197fffda083df7700e674c69ac1fef7c1f4f5723387bc')
+
+sha512sums=('ad6a2ab6bff8d1b85d45b2e95017485000bf39f1ab45bec4fc950125a36d902b0b7c8c39ba0ae0bd9fe99a9a378d624b12538f2e66e6ca71376b49641a7bf632')
+           # rWoqtr/40bhdRbLpUBdIUAC/OfGrRb7E/JUBJaNtkCsLfIw5ugrgvZ/pmpo3jWJLElOPLmbmynE3a0lkGnv2Mg==
+           # (from latest-linux.yml)
-- 
2.28.0

wcasanova commented on 2020-09-30 20:15

better use the direct link from github. https://github.com/clickup/clickup-release/releases you can directly download the AppImage

wcasanova commented on 2020-09-16 22:48

@xuanwo missing update the .SRCINFO.

regards