aboutsummaryrefslogtreecommitdiff
path: root/network/xdman/xdman.SlackBuild
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2017-07-02 09:01:06 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-07-05 08:52:21 +0700
commitdfe719352a4da4d190b21224c7708bf4d2e2e5fe (patch)
treec4e88eae291c2b106511ca360120ed1e4eb1ac4c /network/xdman/xdman.SlackBuild
parentd5ff0001430dfce16c9b799c1c14a7e317d574c8 (diff)
network/xdman: Updated for version 2016.6.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/xdman/xdman.SlackBuild')
-rw-r--r--network/xdman/xdman.SlackBuild22
1 files changed, 11 insertions, 11 deletions
diff --git a/network/xdman/xdman.SlackBuild b/network/xdman/xdman.SlackBuild
index 331e4ce1c0c05..e9d9c8b45c517 100644
--- a/network/xdman/xdman.SlackBuild
+++ b/network/xdman/xdman.SlackBuild
@@ -2,7 +2,7 @@
#
# Slackware build script for xdman.
#
-# Copyright 2015 Edinaldo P. Silva, Rio de Janeiro, Brazil.
+# Copyright 2015-2017 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=xdman
-VERSION=${VERSION:-5.0.47}
+VERSION=${VERSION:-2016.6.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -56,8 +56,7 @@ fi
set -e
-SRCNAM="xdm"
-SUFFIX="jre"
+SRCNAM=${SRCNAM:-xdm-setup}
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -65,9 +64,9 @@ rm -rf $TMP/$PRGNAM-$VERSION
cd $TMP
if [ "$ARCH" = "i586" ]; then
- tar xvf $CWD/$SRCNAM-$SUFFIX-32bit.tar.xz
+ tar xvf $CWD/$SRCNAM-x86.tar.xz
elif [ "$ARCH" = "x86_64" ]; then
- tar xvf $CWD/$SRCNAM-$SUFFIX-64bit.tar.xz
+ tar xvf $CWD/$SRCNAM-x64.tar.xz
fi
mv $SRCNAM $PRGNAM-$VERSION
@@ -79,17 +78,18 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-install -d $PKG/usr/bin
-install -D -m755 $CWD/xdman $PKG/usr/bin/xdman
-install -d $PKG/usr/share/{applications,pixmaps,$PRGNAM}
+7z x install.sh
+install -d -m755 $PKG/opt/xdman
+install -D -m644 xdman.jar $PKG/opt/xdman/xdman.jar
+install -D -m775 $CWD/xdman $PKG/opt/xdman
install -D -m644 $CWD/xdman.desktop $PKG/usr/share/applications/xdman.desktop
-install -D -m644 icon.png $PKG/usr/share/pixmaps/xdman.png
-cp -a jre xdm.jar $PKG/usr/share/$PRGNAM
+install -D -m644 $CWD/xdman.png $PKG/usr/share/pixmaps/xdman.png
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a readme.txt $PKG/usr/doc/$PRGNAM-$VERSION/README
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM-SlackBuild
mkdir -p $PKG/install