diff options
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 755d0ac46f388..74c04c01e5a26 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 |