Commit 6e684ed6 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play: add thinlic-client

parent 781b82a7
#!/bin/sh
PKGNAME=thinlinc-client
SUPPORTEDARCHES="x86_64 x86 armhf"
VERSION="$2"
DESCRIPTION="ThinLinc Client from the official site"
URL="https://www.cendio.com/thinlinc"
. $(dirname $0)/common.sh
[ "$VERSION" = "*" ] || VERSION="$VERSION-*"
pkgtype=$(epm print info -p)
arch="$(epm print info -a)"
case "$pkgtype-$arch" in
rpm-x86_64)
file="thinlinc-client-$VERSION.x86_64.rpm"
;;
rpm-x86)
file="thinlinc-client-$VERSION.i686.rpm"
;;
rpm-armhf)
file="thinlinc-client-$VERSION.armv7hl.rpm"
;;
*-x86_64)
file="thinlinc-client_${VERSION}_amd64.deb"
;;
*-x86)
file="thinlinc-client_${VERSION}_i386.deb"
;;
*-armhf)
file="thinlinc-client_${VERSION}_armhf.deb"
;;
esac
PKGURL="https://www.cendio.com/downloads/clients/$file"
repack=''
[ "$(epm print info -s)" = "alt" ] && repack='--repack'
epm install $repack "$PKGURL"
#!/bin/sh -x
# It will run with two args: buildroot spec
BUILDROOT="$1"
SPEC="$2"
PRODUCT=tlclient
PRODUCTCUR=thinlinc
PRODUCTDIR=/opt/thinlinc
. $(dirname $0)/common.sh
add_bin_link_command $PRODUCT $PRODUCTDIR/bin/$PRODUCT
add_bin_exec_command $PRODUCTCUR $PRODUCT
fix_desktop_file "/opt/thinlinc/bin/tlclient-openconf"
add_libs_requires
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment