diff options
author | Marek Srejma <sam@modweb.de> | 2021-02-26 17:51:28 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-02-27 08:24:28 +0700 |
commit | dce18bbfe4405cb691c9f196e9a0b545655f0005 (patch) | |
tree | 432bd5fb777319043e2defe3d558f287ed9b4d3a /graphics/xmedcon/xmedcon.SlackBuild | |
parent | 0707ec073b931dfd1f42d46785a37921d0929f93 (diff) | |
download | slackbuilds-dce18bbfe4405cb691c9f196e9a0b545655f0005.tar.gz slackbuilds-dce18bbfe4405cb691c9f196e9a0b545655f0005.tar.xz |
graphics/xmedcon: Updated for version 0.17.0.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/xmedcon/xmedcon.SlackBuild')
-rw-r--r-- | graphics/xmedcon/xmedcon.SlackBuild | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/graphics/xmedcon/xmedcon.SlackBuild b/graphics/xmedcon/xmedcon.SlackBuild index 755d0ac46f..74c04c01e5 100644 --- a/graphics/xmedcon/xmedcon.SlackBuild +++ b/graphics/xmedcon/xmedcon.SlackBuild @@ -2,7 +2,7 @@ # # Slackware build script for (X)MedCon # -# Copyright 2016 Marek Srejma (sam_web@yahoo.de) +# Copyright 2016-2021 Marek Srejma (sam@modweb.de) # 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=xmedcon -VERSION=${VERSION:-0.16.3} +VERSION=${VERSION:-0.17.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -84,11 +84,16 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG -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 -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 +for i in $( find $PKG/usr/man -type l ) +do + ln -s $( readlink $i ).gz $i.gz + rm $i +done mv $PKG/usr/etc $PKG/ mv $PKG/etc/xmedconrc $PKG/etc/xmedconrc.new @@ -101,7 +106,7 @@ install -m644 $CWD/xmedcon.desktop $PKG/usr/share/applications/xmedcon.desktop mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - AUTHORS COPYING COPYING.LIB ChangeLog INSTALL NEWS README REMARKS \ + AUTHORS COPYING COPYING.LIB INSTALL NEWS README REMARKS \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |