blob: 4d3e1c844bedb9463f44d910a6540b4899b7cbf1 (
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
35
36
37
|
# Maintainer: Steve Engledow <steve@engledow.me>
pkgname=amazon-workspaces-bin
pkgver=latest
pkgrel=1
pkgdesc="Amazon Workspace Client"
arch=('i686' 'x86_64')
url="https://clients.amazonworkspaces.com/"
license=('non-free')
depends=(
)
options=('staticlibs')
makedepends=(
'binutils'
'tar'
)
source=("workspaces-client.deb::https://d3nt0h4h6pmmc4.cloudfront.net/ubuntu/dists/bionic/main/binary-amd64/workspacesclient_3.0.0.200_amd64.deb")
sha1sums=("SKIP")
build() {
cd "$srcdir"
ar x workspaces-client.deb
tar axvf data.tar.xz
}
package() {
mkdir -p $pkgdir/usr/share/amazon-workspaces
mkdir -p $pkgdir/usr/bin
# Icons
cp -a $srcdir/usr/share/* $pkgdir/usr/share/
# Binary
cp -a $srcdir/opt/workspacesclient/* $pkgdir/usr/share/amazon-workspaces/
# Launcher
ln -s $pkgdir/usr/share/amazon-workspaces/workspacesclient $pkgdir/usr/bin/amazon-workspaces
}
|