diff options
author | ponce <matteo.bernardini@gmail.com> | 2011-03-07 02:12:15 -0300 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2011-03-07 02:12:15 -0300 |
commit | 27332535ba7ba0a20f92baa29071aeefb570e4e0 (patch) | |
tree | f7df2a6cf403054c9a2c136eba96ecc63292fd51 | |
parent | 2cdf9f1288ffd2596632194cf8c106770baecfe2 (diff) |
network/nxclient: Moved install location to /opt
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
-rw-r--r-- | network/nxclient/README | 8 | ||||
-rw-r--r-- | network/nxclient/doinst.sh | 1 | ||||
-rw-r--r-- | network/nxclient/nxclient.SlackBuild | 11 | ||||
-rw-r--r-- | network/nxclient/nxclient.info | 4 |
4 files changed, 15 insertions, 9 deletions
diff --git a/network/nxclient/README b/network/nxclient/README index e7df195daa36..f0812124cc84 100644 --- a/network/nxclient/README +++ b/network/nxclient/README @@ -1,4 +1,8 @@ nxclient (client for the NX protocol) -This is a repackaging of the official nomachine's -binary client for the NX protocol. +This is a repackaging of the official nomachine's binary client +for the NX protocol. + +In case you need help setting up connections, have a look at the +official online documentation: +http://www.nomachine.com/documents/configuration/client-guide.php diff --git a/network/nxclient/doinst.sh b/network/nxclient/doinst.sh index 4e8ba7071dea..5fb28930db0b 100644 --- a/network/nxclient/doinst.sh +++ b/network/nxclient/doinst.sh @@ -1,4 +1,3 @@ if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 fi - diff --git a/network/nxclient/nxclient.SlackBuild b/network/nxclient/nxclient.SlackBuild index 47422218be24..80505a5bbbfe 100644 --- a/network/nxclient/nxclient.SlackBuild +++ b/network/nxclient/nxclient.SlackBuild @@ -1,12 +1,11 @@ #!/bin/sh # Slackware build script for nxclient - -# Written by ponce <matteo.bernardini@sns.it> +# Written by ponce <matteo.bernardini@gmail.com> PRGNAM=nxclient VERSION=${VERSION:-3.4.0_7} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} LVERSION=$(printf $VERSION|tr _ -) @@ -30,13 +29,17 @@ 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 + +# installing in /usr/NX looks pretty ugly, maybe better symlink from /opt +mkdir -p $PKG/opt +tar xvf $CWD/$PRGNAM-$LVERSION.$ARCH.tar.gz -C $PKG/opt 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 {} \; +ln -s /opt/NX $PKG/usr/NX cd $PKG/usr/bin ln -s /usr/NX/bin/$PRGNAM $PRGNAM diff --git a/network/nxclient/nxclient.info b/network/nxclient/nxclient.info index f7c7897cd03e..1ae9b3f4f220 100644 --- a/network/nxclient/nxclient.info +++ b/network/nxclient/nxclient.info @@ -6,5 +6,5 @@ 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" +EMAIL="matteo.bernardini@gmail.com" +APPROVED="Niels Horn" |