network/nxclient: Moved install location to /opt
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
This commit is contained in:
parent
2cdf9f1288
commit
27332535ba
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue