diff options
author | Edinaldo P. Silva <edps.mundognu@gmail.com> | 2017-03-13 22:27:45 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-03-18 06:58:27 +0700 |
commit | b4607da54256c61e389b541cacc852194f73b87e (patch) | |
tree | c0c8208b4ba0809c7bc720b24e19ef04102a4df4 /system/ddrescue-gui/ddrescue-gui.SlackBuild | |
parent | 3389be756e64af7bdd1e066f4438a3762e77e64a (diff) | |
download | slackbuilds-b4607da54256c61e389b541cacc852194f73b87e.tar.gz |
system/ddrescue-gui: Updated for version 1.7.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/ddrescue-gui/ddrescue-gui.SlackBuild')
-rw-r--r-- | system/ddrescue-gui/ddrescue-gui.SlackBuild | 12 |
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 |