mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-07 20:27:02 +01:00
network/xdman: Updated for version 2018.7.0.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
813b628860
commit
edff766471
2 changed files with 14 additions and 14 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue