blob: b8daafb4a79e9b55cb412063f874a3a16cf9397e (
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
38
39
40
41
42
43
|
# Maintainer: Michael Trip <michael at linuxbase dot nl>
# Contributor: Schrottfresse <schrottfresse at gmx dot de>
pkgname=tlclient
pkgver=4.17.0
_buildnr=3543
pkgrel=0
pkgdesc="A remote desktop application"
arch=('x86_64' 'armv7h')
url="https://www.cendio.com/thinlinc/download"
license=('custom:cendio')
depends=('python' 'python-gobject' 'openssh' 'libx11' 'alsa-lib' 'zlib')
optdepends=('cups: required for remote printing'
'python-ldap: auth against ldap')
source=('tlclient.desktop' 'tlclient.png')
sha256sums=('caa7417fa2f6a530bef2c6ca05f4c8a219ec85add7884fbb7368c0bf18be2988'
'e0cd5d5b6d752672cc207ad098fe2882268d92c3958adf38d571481e1910c5ef')
sha256sums_x86_64=('ee997def118d170483a5632906f933fdb7ccb16aae56c255181f9f79626f4506')
sha256sums_armv7h=('6b31419ddb31ce34d589fbae99eee9e7df3beb6f379cd9b279f516b044329062')
source_x86_64=("https://www.cendio.com/downloads/clients/tl-$pkgver-$_buildnr-client-linux-dynamic-x86_64.tar.gz")
source_armv7h=("https://www.cendio.com/downloads/clients/tl-$pkgver-$_buildnr-client-linux-dynamic-armhf.tar.gz")
package() {
local dir_suffix=$CARCH
if [[ $CARCH == 'armv7h' ]]; then
dir_suffix=armhf
fi
cd $srcdir/tl-$pkgver-$_buildnr-client-linux-dynamic-$dir_suffix
install -Dm644 "lib/tlclient/EULA.txt" "$pkgdir/usr/share/licenses/$pkgname/EULA.txt"
install -m644 "lib/tlclient/open_source_licenses.txt" "$pkgdir/usr/share/licenses/$pkgname/open_source_licenses.txt"
cp -R lib "$pkgdir/usr/"
install -Dm644 "etc/tlclient.conf" "$pkgdir/etc/tlclient.conf"
install -Dm755 "bin/tlclient" "$pkgdir/usr/bin/tlclient"
install -Dm755 "bin/tlclient-openconf" "$pkgdir/usr/bin/tlclient-openconf"
install -Dm644 "../tlclient.desktop" "$pkgdir/usr/share/applications/tlclient.desktop"
install -Dm644 "../tlclient.png" "$pkgdir/usr/share/$pkgname/tlclient.png"
}
|