summaryrefslogtreecommitdiff
path: root/network/xdman
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2018-01-05 08:10:44 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-01-06 06:41:46 +0700
commitedff766471a3f3c1535b29f795bb8ed1aa3d693a (patch)
treeb9e360711bac055e30186adbde09273465900571 /network/xdman
parent813b6288604da3b87c34e8b5f96f23b7484f6256 (diff)
downloadslackbuilds-edff766471a3f3c1535b29f795bb8ed1aa3d693a.tar.gz
network/xdman: Updated for version 2018.7.0.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/xdman')
-rw-r--r--network/xdman/xdman.SlackBuild18
-rw-r--r--network/xdman/xdman.info10
2 files changed, 14 insertions, 14 deletions
diff --git a/network/xdman/xdman.SlackBuild b/network/xdman/xdman.SlackBuild
index 40d0493582..1c428cea75 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
diff --git a/network/xdman/xdman.info b/network/xdman/xdman.info
index cf9815a6ba..ade9f1ac24 100644
--- a/network/xdman/xdman.info
+++ b/network/xdman/xdman.info
@@ -1,10 +1,10 @@
PRGNAM="xdman"
-VERSION="2016.6.2"
+VERSION="2018.7.0.3"
HOMEPAGE="http://xdman.sourceforge.net/"
-DOWNLOAD="https://sourceforge.net/projects/xdman/files/xdm-setup-x86.tar.xz"
-MD5SUM="cc78f0f5d8f132d87d9bb7ad4c1fe6f7"
-DOWNLOAD_x86_64="https://sourceforge.net/projects/xdman/files/xdm-setup-x64.tar.xz"
-MD5SUM_x86_64="0403c2a750be035b1c03cd232f0054fb"
+DOWNLOAD="https://sourceforge.net/projects/xdman/files/xdm-2018-x86.tar.xz"
+MD5SUM="800165b6fe453166b503fe1886078557"
+DOWNLOAD_x86_64="https://sourceforge.net/projects/xdman/files/xdm-2018-x64.tar.xz"
+MD5SUM_x86_64="ba4f459fe6472975bac94660688f9a12"
REQUIRES="jdk p7zip"
MAINTAINER="Edinaldo P. Silva"
EMAIL="edps.mundognu@gmail.com"