Initial commit
This commit is contained in:
commit
09f2061909
13 changed files with 348 additions and 0 deletions
111
PKGBUILD
Normal file
111
PKGBUILD
Normal file
|
|
@ -0,0 +1,111 @@
|
|||
# Maintainer: Christian Schendel <doppelhelix@gmail.com>
|
||||
# Contributor: Cebtenzzre <cebtenzzre (at) gmail (dot) com>
|
||||
|
||||
pkgname=thinlinc-server-bin
|
||||
pkgver=4.19.0
|
||||
pkgrel=1
|
||||
pkgdesc="Cendio ThinLinc Linux remote desktop server"
|
||||
url="https://www.cendio.com"
|
||||
install="$pkgname.install"
|
||||
arch=('x86_64')
|
||||
license=(
|
||||
LicenseRef-EULA.txt
|
||||
LicenseRef-open_source_licenses.txt
|
||||
)
|
||||
depends=(
|
||||
bash
|
||||
cron
|
||||
dbus
|
||||
gdk-pixbuf2
|
||||
ghostscript
|
||||
glib2
|
||||
glibc
|
||||
gtk3
|
||||
hicolor-icon-theme
|
||||
iproute2
|
||||
libasyncns
|
||||
libcap
|
||||
libsndfile
|
||||
libx11
|
||||
libxcb
|
||||
libxcrypt-compat
|
||||
nspr
|
||||
nss
|
||||
pam
|
||||
pango
|
||||
procps-ng
|
||||
python
|
||||
python-cairo
|
||||
python-gobject
|
||||
python-gssapi
|
||||
python-numpy
|
||||
python-six
|
||||
rtkit
|
||||
smtp-forwarder
|
||||
systemd
|
||||
xdg-utils
|
||||
xorg-xauth
|
||||
xorg-xhost
|
||||
zlib
|
||||
)
|
||||
optdepends=(
|
||||
"apache: Web integration"
|
||||
"mod_nss: Web integration"
|
||||
"python-markdown: Web integration"
|
||||
"python-pygments: Web integration"
|
||||
"nfs-utils: Local drive redirection"
|
||||
"python-ldap: LDAP integration tools"
|
||||
"libpulse: Audio redirection"
|
||||
"libcups: Printer redirection"
|
||||
"krb5: Kerberos integration"
|
||||
)
|
||||
|
||||
_archive_name="tl-$pkgver-server"
|
||||
_extract_dir="extract"
|
||||
|
||||
source=(
|
||||
"$_archive_name.zip::$url/downloads/server/tl-$pkgver-server.zip"
|
||||
tlwebaccess.service
|
||||
tlwebadm.service
|
||||
vsmagent.service
|
||||
vsmserver.service
|
||||
)
|
||||
b2sums=('dc8594c54300aa1b29103fce264f0005d5699bcf03e4868514e5e406ecd4a65b2ca5175d6a94ecf4a25f05d8311e97abef3d0e4b4097456892641bcc3a025d16'
|
||||
'deb7b7788de55b385a5ed993d8072d07bf2af7cab917373c298f3058ef09691d22a67d4fe54d6a1f80a35295be1114e8e68e4c24fcf14e1904fd6ce8ab3af01c'
|
||||
'8fd739a5ad3a4222eb62a7114e8d2c337c0b18b124707e1dd8cd2f8f7f916829c23522df11f6796001fde9ee3e3b4384378291a5ea3bdc71300dd9568dc333b1'
|
||||
'6824c431018f6f973f8bbd65650d703a4ea3e386b9bce5dcf32d1250955d41317326a6b9eb0dd0c524068d3287c482f558d3b7c5019b945695df0a124c6e878c'
|
||||
'71ab781cd45311e8289b8a3f4953fd9d70250a3b89d0d3086c4bd7d08733e2c2e856982f30f63598b03d835e9eea55084b4ef2519ad217b17e5eaf40c68ea312')
|
||||
|
||||
prepare() {
|
||||
cd "$srcdir/$_archive_name/packages"
|
||||
mkdir -p "$_extract_dir"
|
||||
for deb in *amd64*deb; do
|
||||
bsdtar -C "$_extract_dir" -xf "$deb"
|
||||
done
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$_archive_name/packages/$_extract_dir"
|
||||
bsdtar -xf data.tar.gz -C "$pkgdir/"
|
||||
rm -Rf "$pkgdir/usr/lib32/.build-id"
|
||||
ln -s "/opt/thinlinc/modules" "$pkgdir/usr/lib/$pkgname"
|
||||
|
||||
cd "$srcdir"
|
||||
install -Dm0644 -t "$pkgdir/usr/lib/systemd/system" \
|
||||
tlwebaccess.service \
|
||||
tlwebadm.service \
|
||||
vsmagent.service \
|
||||
vsmserver.service
|
||||
|
||||
cd "$srcdir/$_archive_name"
|
||||
install -dm0775 "$pkgdir/usr/share/doc/$pkgname"
|
||||
cp -aR doc/* "$pkgdir/usr/share/doc/$pkgname"
|
||||
install -Dm0644 -t "$pkgdir/usr/share/doc/$pkgname" \
|
||||
README.txt \
|
||||
THINLINC-GPG-KEY
|
||||
install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname" \
|
||||
open_source_licenses.txt \
|
||||
EULA.txt
|
||||
}
|
||||
|
||||
# vim: set ft=sh ts=4 sw=4 et:
|
||||
Loading…
Add table
Add a link
Reference in a new issue