summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMax Ulidtko2020-10-08 17:20:25 +0800
committerXuanwo2020-10-08 17:20:25 +0800
commit21a7a3e7eb871b5881fe3d0566e69ac34fb6a734 (patch)
tree9a8d498ebfa94f09c5f166553a5dc4c272046b4b /PKGBUILD
parentaf7723f7dd391ba9a01c29f4a6ee6b6b587aeacb (diff)
downloadaur-21a7a3e7eb871b5881fe3d0566e69ac34fb6a734.tar.gz
Update to 2.0.20, fix icon, reduce download size
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD14
1 files changed, 6 insertions, 8 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 4d56f848421..f9ac4790534 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,30 +1,28 @@
# 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')