summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 93a18e01cb0eda4250e5202e1e60592746d48e34 (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=102.26.1.22866
_pkgver=102.26.1.22866-ae25f59 # 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=('unknown')
# 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=('16de307bbd51f1715649d99b1812098247279ce842da91260b250918a7fef6dff939936c7b8a7c1002d3f88bd2d6ef268c6457985abf65285276eb27a4bb19ee')

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
}