summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a3da0bc94453a9f027a1a866c92b1e1bfa721c8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Generated by debtap
# Maintainer: mvnsio
# Maintainer: Thien An Dang Thanh < thienandangthanh@gmail.com >
# Contributor: grueneerle
pkgname=sidekick-browser-stable-bin
pkgver=104.28.1.24083
_pkgver=104.28.1.24083-e895149 # includes sequence after the pkgver using CDN source, using wget to see redirect
pkgrel=1
pkgdesc="Sidekick is a revolutionary new work OS based on the Chromium browser. Designed to be the ultimate online work experience, it brings together your team and every web tool you use – all in one interface"
arch=('x86_64')
url="https://www.meetsidekick.com/"
license=('commercial')
# groups=('')
depends=('alsa-lib>=1.0.16' 'atk>=2.2.0' 'at-spi2-atk>=2.5.3' 'at-spi2-core>=2.9.90' 'bash-completion' 'ca-certificates' 'cairo>=1.6.0' 'dbus>=1.5.12' 'desktop-file-utils' 'expat>=2.0.1' 'gcc>=3.3' 'gcc-libs' 'gdk-pixbuf2>=2.22.0' 'glib2>=2.39.4' 'glibc>=2.16' 'gtk3>=3.9.10' 'hicolor-icon-theme' 'libcups>=1.4.0' 'libdrm>=2.4.38' 'libx11>=1.4.99.1' 'libxcb>=1.9.2' 'libxcomposite>=0.3' 'libxdamage>=1.1' 'libxext' 'libxfixes' 'libxkbcommon>=0.4.1' 'libxrandr' 'mesa>=8.1' 'nspr>=4.9' 'nss>=3.22' 'pango' 'ttf-liberation' 'xdg-utils>=1.0.2')
optdepends=('libu2f-host'
            'vulkan-icd-loader')
provides=('www-browser')
options=('!strip' '!emptydirs')
install=${pkgname}.install
source=("https://fast-cdn.meetsidekick.com/builds/sidekick-linux-release-x64-${_pkgver}.deb")
sha512sums=('1e87a770a4a11b678121dc947482842b91748d5c1b20af61d659577dde379647ba0ff1feb10d8c7eedd16078de2a4c8138f5a374b7658ac685f9a6f615089172')

package(){
# Extract package data
  tar xf data.tar.xz -C "${pkgdir}"

 # Install icons.
  for _size in 16 24 32 48 64 128 256; do
    case "${_size}" in
      *) _branding="${pkgdir}/opt/meetsidekick.com/sidekick/" ;;
    esac
    install -Dm644 "${_branding}/product_logo_${_size}.png" "${pkgdir}/usr/share/icons/hicolor/${_size}x${_size}/apps/sidekick-browser.png"
  done
}