summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4d82d3b704dd03b06b1ec46026dc6f8bf5a88367 (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=114.49.1.34652
_pkgver=114.49.1.34652-166b8d6 # 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://cdn.meetsidekick.com/browser-builds/sidekick-linux-release-x64-${_pkgver}.deb")
sha512sums=('682f057ef0683e20df84118bc54d744135442f94f8650c60c06419f55db71904cecc85dc569d19e2f40c4968061803696e9532b5232087467b9739a700c81d7d')

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
}