network/nxclient: (client for the NX protocol)

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
ponce 2010-12-08 23:20:10 -06:00 committed by Robby Workman
parent d9786ad891
commit 8cb50d13ea
6 changed files with 100 additions and 0 deletions

4
network/nxclient/README Normal file
View file

@ -0,0 +1,4 @@
nxclient (client for the NX protocol)
This is a repackaging of the official nomachine's
binary client for the NX protocol.

View file

@ -0,0 +1,4 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi

View file

@ -0,0 +1,55 @@
#!/bin/sh
# Slackware build script for nxclient
# Written by ponce <matteo.bernardini@sns.it>
PRGNAM=nxclient
VERSION=${VERSION:-3.4.0_7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
LVERSION=$(printf $VERSION|tr _ -)
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i386 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
set -e
rm -rf $PKG
mkdir -p $PKG $OUTPUT
cd $PKG
mkdir -p $PKG/usr/bin
tar xvf $CWD/$PRGNAM-$LVERSION.$ARCH.tar.gz -C $PKG/usr
chown -R root:root $PKG
find $PKG \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
cd $PKG/usr/bin
ln -s /usr/NX/bin/$PRGNAM $PRGNAM
mkdir -p $PKG/usr/share/applications
cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}

View file

@ -0,0 +1,8 @@
[Desktop Entry]
Name=NX Client
Type=Application
Exec=nxclient
Icon=/usr/NX/share/icons/48x48/nxclient-icon.png
Comment=A client for the NX protocol
Terminal=false
Categories=Network;

View file

@ -0,0 +1,10 @@
PRGNAM="nxclient"
VERSION="3.4.0_7"
HOMEPAGE="http://www.nomachine.com/"
DOWNLOAD="http://64.34.161.181/download/3.4.0/Linux/nxclient-3.4.0-7.i386.tar.gz"
MD5SUM="ae66f7da3106a8b44c72466566ce6140"
DOWNLOAD_x86_64="http://64.34.161.181/download/3.4.0/Linux/nxclient-3.4.0-7.x86_64.tar.gz"
MD5SUM_x86_64="bfb444b44d81b7b9b2815669b6b3c391"
MAINTAINER="ponce"
EMAIL="matteo.bernardini@sns.it"
APPROVED="rworkman"

View file

@ -0,0 +1,19 @@
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
nxclient: nxclient (client for the NX protocol)
nxclient:
nxclient: This is a repackaging of the official nomachine's binary client for
nxclient: the NX protocol.
nxclient:
nxclient: nxclient homepage: http://www.nomachine.com/download-client-linux.php
nxclient:
nxclient:
nxclient:
nxclient:
nxclient: