diff options
author | Edinaldo P. Silva <edps.mundognu@gmail.com> | 2019-06-09 09:41:48 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-06-09 09:41:48 +0700 |
commit | f70b00bc347dc9867a11b2a4fd8ff163d8d11e39 (patch) | |
tree | c5eedfa02135b2cb23fb86697d36f8e854a658cb /system/disk-manager/disk-manager.SlackBuild | |
parent | 8c011c02cad827c31e4b9b1bbce48b3b3d5a2ae7 (diff) |
system/disk-manager: Update DEP.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/disk-manager/disk-manager.SlackBuild')
-rw-r--r-- | system/disk-manager/disk-manager.SlackBuild | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/system/disk-manager/disk-manager.SlackBuild b/system/disk-manager/disk-manager.SlackBuild index 705641dadd6f7..73f3962e349a2 100644 --- a/system/disk-manager/disk-manager.SlackBuild +++ b/system/disk-manager/disk-manager.SlackBuild @@ -2,7 +2,7 @@ # # Slackware build script for disk-manager. # -# Copyright 2015-2017 Edinaldo P. Silva, Rio de Janeiro, Brazil. +# Copyright 2015-2019 Edinaldo P. Silva, Rio de Janeiro, Brazil. # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ PRGNAM=disk-manager VERSION=${VERSION:-1.1.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -88,16 +88,17 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG +install -Dm644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications/$PRGNAM.desktop + 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 find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -DOCS="AUTHORS ChangeLog COPYING INSTALL NEWS README TODO" - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +cp AUTHORS ChangeLog COPYING INSTALL NEWS README TODO \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |