summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PKGBUILD32
1 files changed, 15 insertions, 17 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 997bb207456..d1934a77516 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,28 +1,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=3.3.2
-pkgrel=4
+pkgver=3.5.1
+pkgrel=1
pkgdesc="Airtame official screen streaming application."
arch=('x86_64')
-url="http://www.airtame.com"
+url="https://airtame.com"
license=('Custom')
-source=('airtame.desktop' "https://downloads.airtame.com/application/ga/lin_x64/releases/airtame-application-${pkgver}.tar.gz" 'airtame-application')
-sha1sums=('6cf4bf96ee176e84700514b22a6c7811e21136b4'
- 'b1724925e3549443a75223db686a4232fd2ee2e5'
- '1fbd8c0efd879f5a1f4d50be07209d72b87184fc')
+depends=('gconf' 'libnotify' 'libappindicator-gtk2' 'libxtst' 'nss' 'libxss')
+source=("http://eu-1-downloads.airtame.com/app/latest/linux/Airtame-${pkgver}.deb")
+sha1sums=('dd0cdf383a0c4cadfc4f05c06b670f8e4acc97d8')
package() {
- # Install files to /opt
- mkdir -p ${pkgdir}/opt/airtame
- mv ${srcdir}/${pkgname}-${pkgver}/* ${pkgdir}/opt/airtame
+ # Extract package data
+ tar xf data.tar.xz -C "${pkgdir}"
- # Install desktop file
- install -m 644 -D "${startdir}"/airtame.desktop "${pkgdir}"/usr/share/applications/airtame.desktop
+ # 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
- # Installing license
- install -m 644 -D ${pkgdir}/opt/airtame/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
-
- # Install launch script
- install -D ${startdir}/airtame-application ${pkgdir}/usr/bin/airtame-application
+ # Make airtame-application available in /usr/bin/
+ mkdir ${pkgdir}/usr/bin
+ ln -s /opt/Airtame/airtame-application ${pkgdir}/usr/bin/airtame-application
}