summaryrefslogtreecommitdiff
path: root/system/ddrescue-gui/ddrescue-gui.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/ddrescue-gui/ddrescue-gui.SlackBuild')
-rw-r--r--system/ddrescue-gui/ddrescue-gui.SlackBuild12
1 files changed, 7 insertions, 5 deletions
diff --git a/system/ddrescue-gui/ddrescue-gui.SlackBuild b/system/ddrescue-gui/ddrescue-gui.SlackBuild
index 840409d749..0f612bf948 100644
--- a/system/ddrescue-gui/ddrescue-gui.SlackBuild
+++ b/system/ddrescue-gui/ddrescue-gui.SlackBuild
@@ -2,7 +2,7 @@
#
# Slackware build script for ddrescue-gui.
#
-# 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=ddrescue-gui
-VERSION=${VERSION:-1.6.1}
+VERSION=${VERSION:-1.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -56,13 +56,13 @@ fi
set -e
-SRCNAM="ddrescue-gui_1.6.1~otherdistro-0ubuntu1~ppa1"
+SRCVER="1.7~otherdistro-0ubuntu1~ppa1"
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$SRCNAM.tar.gz
+tar xvf $CWD/${PRGNAM}_${SRCVER}.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -74,8 +74,10 @@ find -L . \
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
+DATA="GetDevInfo Tests Tools images other AuthenticationDialog.py DDRescue-GUI.py Tests.py"
+
mkdir -p $PKG/usr/share/$PRGNAM
-cp -a GetDevInfo images other Tools AuthenticationDialog.py DDRescue-GUI.py $PKG/usr/share/$PRGNAM
+cp -a $DATA $PKG/usr/share/$PRGNAM
install -D -m644 ddrescue-gui.desktop $PKG/usr/share/applications/ddrescue-gui.desktop
install -D -m644 ddrescue-gui.png $PKG/usr/share/pixmaps/ddrescue-gui.png