summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorXuanwo2020-04-17 16:33:26 +0800
committerXuanwo2020-04-17 16:33:26 +0800
commit3feea6dfe3971162a64d075f8f1cbf096db66c73 (patch)
tree279627c5712a062d139e689a9db4b5678d536c8a
downloadaur-3feea6dfe3971162a64d075f8f1cbf096db66c73.tar.gz
Add clickup 2.0.8
Signed-off-by: Xuanwo <xuanwo@archlinuxcn.org>
-rw-r--r--.SRCINFO14
-rw-r--r--.gitignore3
-rw-r--r--PKGBUILD32
3 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..2c70dd8ab7a
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = clickup
+ pkgdesc = Desktop app for clickup.com
+ pkgver = 2.0.8
+ 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.8-linux.zip
+ sha256sums = 8482aceb51345f21fb50db0c1e8353870376fd40ea991ef32ff44bb5556431a3
+
+pkgname = clickup
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..b00465461b2
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+*.log
+*.zst
+*.zip
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..dddd2dcdf37
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer Xuanwo <xuanwo@archlinucn.org>
+pkgname=clickup
+pkgver=2.0.8
+pkgrel=1
+pkgdesc="Desktop app for clickup.com"
+arch=('x86_64')
+url="https://clickup.com"
+license=('custom')
+depends=('fuse2')
+_filename="$pkgname-desktop-$pkgver-x86_64.AppImage"
+_downloadname="$pkgname-desktop-$pkgver-linux.zip"
+options=('!strip')
+source=("https://attachments3.clickup.com/desktop/$_downloadname")
+
+prepare() {
+ cd "$srcdir"
+ 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
+}
+
+package() {
+ cd "$srcdir/"
+ 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/"
+ chmod -R a+rX "$pkgdir/usr/share/icons/hicolor"
+}
+sha256sums=('8482aceb51345f21fb50db0c1e8353870376fd40ea991ef32ff44bb5556431a3')
+