diff options
author | Edinaldo P. Silva <edps.mundognu@gmail.com> | 2018-01-05 08:10:44 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-01-06 06:41:46 +0700 |
commit | edff766471a3f3c1535b29f795bb8ed1aa3d693a (patch) | |
tree | b9e360711bac055e30186adbde09273465900571 /network/xdman/xdman.SlackBuild | |
parent | 813b6288604da3b87c34e8b5f96f23b7484f6256 (diff) |
network/xdman: Updated for version 2018.7.0.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/xdman/xdman.SlackBuild')
-rw-r--r-- | network/xdman/xdman.SlackBuild | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/network/xdman/xdman.SlackBuild b/network/xdman/xdman.SlackBuild index 40d049358289c..1c428cea751fc 100644 --- a/network/xdman/xdman.SlackBuild +++ b/network/xdman/xdman.SlackBuild @@ -2,7 +2,7 @@ # # Slackware build script for xdman. # -# Copyright 2015-2017 Edinaldo P. Silva, Rio de Janeiro, Brazil. +# Copyright 2015-2018 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:-2016.6.2} +VERSION=${VERSION:-2018.7.0.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -56,23 +56,24 @@ fi set -e -SRCNAM=${SRCNAM:-xdm-setup} +SRCNAM=${SRCNAM:-xdm-2018} rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT rm -rf $TMP/$PRGNAM-$VERSION cd $TMP +mkdir -p $PRGNAM-$VERSION + if [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ]; then - tar xvf $CWD/$SRCNAM-x86.tar.xz + tar xvf $CWD/$SRCNAM-x86.tar.xz -C $PRGNAM-$VERSION elif [ "$ARCH" = "x86_64" ]; then - tar xvf $CWD/$SRCNAM-x64.tar.xz + tar xvf $CWD/$SRCNAM-x64.tar.xz -C $PRGNAM-$VERSION else echo "$ARCH is not supported." exit 1 fi -mv $SRCNAM $PRGNAM-$VERSION cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -85,14 +86,13 @@ find -L . \ 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 $CWD/xdman.png $PKG/usr/share/pixmaps/xdman.png +install -D -m644 xdman.desktop $PKG/usr/share/applications/xdman.desktop +install -D -m644 icon.png $PKG/usr/share/pixmaps/icon.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 |