diff --git a/.SRCINFO b/.SRCINFO index 4470eb0..039b591 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,28 +1,30 @@ -pkgbase = thinlinc-client +pkgbase = thinlinc-client-bin pkgdesc = Cendio ThinLinc Linux remote desktop client. pkgver = 4.19.0_4005 - pkgrel = 5 + pkgrel = 6 url = https://www.cendio.com arch = x86_64 arch = armv7h license = LicenseRef-CENDIO_END_USER_LICENSE_AGREEMENT_3.5 optdepends = cups: required for remote printing optdepends = python-ldap: auth against ldap - noextract = thinlinc-client-4.19.0_4005.tar.gz - source_x86_64 = thinlinc-client-4.19.0_4005.tar.gz::https://www.cendio.com/downloads/clients/tl-4.19.0-4005-client-linux-dynamic-x86_64.tar.gz + provides = thinlinc-client=4.19.0_4005 + replaces = thinlinc-client + noextract = thinlinc-client-bin-4.19.0_4005.tar.gz + source_x86_64 = thinlinc-client-bin-4.19.0_4005.tar.gz::https://www.cendio.com/downloads/clients/tl-4.19.0-4005-client-linux-dynamic-x86_64.tar.gz source_x86_64 = tlclient.csh source_x86_64 = tlclient.sh b2sums_x86_64 = a201d1ad34189f09023f9b1cd9839d414d8ccf36bcbc79380a831928b875182efb6ed11bd20ed2faa33ac386ba63374683eaadb3083d94591e27d4e9c85a245f b2sums_x86_64 = 35f23ab16e8656e1d973391360ea52053c20227c7834454792f0c9d7e56dbe692a362c8de869a4b7371eecef3cfeeafe628803079fd4d31ee2157427e1305b1c b2sums_x86_64 = 68bd5443a2f59f7e128ce8ea60ef3d1da62f43d9e40bf4e163e28c33bfd04ab9fc1b0d11859238d8568ea1c15f831bf2316171aebbaf3e88f715cf7d6a8a5e58 - source_armv7h = thinlinc-client-4.19.0_4005.tar.gz::https://www.cendio.com/downloads/clients/tl-4.19.0-4005-client-linux-dynamic-armhf.tar.gz + source_armv7h = thinlinc-client-bin-4.19.0_4005.tar.gz::https://www.cendio.com/downloads/clients/tl-4.19.0-4005-client-linux-dynamic-armhf.tar.gz source_armv7h = tlclient.csh source_armv7h = tlclient.sh b2sums_armv7h = a201d1ad34189f09023f9b1cd9839d414d8ccf36bcbc79380a831928b875182efb6ed11bd20ed2faa33ac386ba63374683eaadb3083d94591e27d4e9c85a245f b2sums_armv7h = 35f23ab16e8656e1d973391360ea52053c20227c7834454792f0c9d7e56dbe692a362c8de869a4b7371eecef3cfeeafe628803079fd4d31ee2157427e1305b1c b2sums_armv7h = 68bd5443a2f59f7e128ce8ea60ef3d1da62f43d9e40bf4e163e28c33bfd04ab9fc1b0d11859238d8568ea1c15f831bf2316171aebbaf3e88f715cf7d6a8a5e58 -pkgname = thinlinc-client +pkgname = thinlinc-client-bin depends = alsa-lib depends = bash depends = glibc diff --git a/PKGBUILD b/PKGBUILD index d0fe997..0eedbd9 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,7 +3,7 @@ pkgname=thinlinc-client-bin pkgver=4.19.0_4005 -pkgrel=5 +pkgrel=6 pkgdesc="Cendio ThinLinc Linux remote desktop client." url="https://www.cendio.com" arch=( @@ -37,10 +37,13 @@ b2sums_x86_64=('a201d1ad34189f09023f9b1cd9839d414d8ccf36bcbc79380a831928b875182e b2sums_armv7h=('a201d1ad34189f09023f9b1cd9839d414d8ccf36bcbc79380a831928b875182efb6ed11bd20ed2faa33ac386ba63374683eaadb3083d94591e27d4e9c85a245f' '35f23ab16e8656e1d973391360ea52053c20227c7834454792f0c9d7e56dbe692a362c8de869a4b7371eecef3cfeeafe628803079fd4d31ee2157427e1305b1c' '68bd5443a2f59f7e128ce8ea60ef3d1da62f43d9e40bf4e163e28c33bfd04ab9fc1b0d11859238d8568ea1c15f831bf2316171aebbaf3e88f715cf7d6a8a5e58') - +provides=("thinlinc-client=$pkgver") +replaces=('thinlinc-client') prepare() { mkdir "$srcdir/$pkgname-$pkgver" - bsdtar -xf "$pkgname-$pkgver.tar.gz" -C "$srcdir/$pkgname-$pkgver" --strip-components=1 + bsdtar -xf "$pkgname-$pkgver.tar.gz" \ + -C "$srcdir/$pkgname-$pkgver" \ + --strip-components=1 } package() { @@ -71,11 +74,14 @@ package() { install -dm0755 "$pkgdir/usr/bin" ln -s "/opt/thinlinc/bin/tlclient" "$pkgdir/usr/bin/tlclient" - ln -s "/opt/thinlinc/bin/tlclient-openconf" "$pkgdir/usr/bin/tlclient-openconf" + ln -s "/opt/thinlinc/bin/tlclient-openconf" \ + "$pkgdir/usr/bin/tlclient-openconf" # Copy licenses - install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" "$pkgdir/opt/thinlinc/lib/tlclient/open_source_licenses.txt" - install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" "$pkgdir/opt/thinlinc/lib/tlclient/EULA.txt" + install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" \ + "$pkgdir/opt/thinlinc/lib/tlclient/open_source_licenses.txt" + install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" \ + "$pkgdir/opt/thinlinc/lib/tlclient/EULA.txt" # replicate the content of the .deb install -Dm0644 -t "$pkgdir/etc/profile.d" "$srcdir"/tlclient.{sh,csh}