summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 375ac8a0bcf4161e808d59f37bbbbfda90eea230 (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
# Maintainer: mads256h <mads256h(at)gmail(dot)com>
# Contributor: ava1ar <mail(at)ava1ar(dot)me>
# Contributor: mod24 <bruenker(at)sintro(dot)de>

pkgname=airtame-application
pkgver=4.1.0
pkgrel=1
pkgdesc="Airtame official screen streaming application."
arch=('x86_64')
url="https://airtame.com"
license=('custom')
depends=('gtk3' 'libnotify' 'nss' 'libxss' 'libxtst' 'xdg-utils' 'libutil-linux' 'libappindicator-gtk3' 'libsecret')
source=("https://downloads.airtame.com/app/latest/linux/Airtame-${pkgver}.deb")
sha1sums=('a57a0e5f1d45746bb4455f6632470feb2c52cffe')
package() {
  # Extract package data
  tar xf data.tar.xz -C "${pkgdir}"

  # Install licenses
  install -m 644 -D ${pkgdir}/opt/Airtame/LICENSE.electron.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.electron.txt
  install -m 644 -D ${pkgdir}/opt/Airtame/LICENSES.chromium.html ${pkgdir}/usr/share/licenses/${pkgname}/LICENSES.chromium.html

  # Make airtame-application available in /usr/bin/
  mkdir ${pkgdir}/usr/bin
  ln -s /opt/Airtame/airtame-application ${pkgdir}/usr/bin/airtame-application
}