diff options
Diffstat (limited to 'system/clamtk/clamtk.SlackBuild')
-rw-r--r-- | system/clamtk/clamtk.SlackBuild | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/system/clamtk/clamtk.SlackBuild b/system/clamtk/clamtk.SlackBuild index 17e5d69ac1..d6f6ca12c9 100644 --- a/system/clamtk/clamtk.SlackBuild +++ b/system/clamtk/clamtk.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for clamtk -# Copyright 2012-2020 Petar Petrov slackalaxy@gmail.com +# Copyright 2012-2021 Petar Petrov slackalaxy@gmail.com # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ # https://aur.archlinux.org/packages/clamtk/ PRGNAM=clamtk -VERSION=${VERSION:-6.05} +VERSION=${VERSION:-6.11} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -63,7 +63,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.xz +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -82,15 +82,11 @@ for i in lib/* ; do install -D -m644 $i $PKG/usr/lib${LIBDIRSUFFIX}/perl5/vendor_perl/ClamTk/`basename $i` done -for i in po/*.mo ; do - install -D -m644 $i $PKG/usr/share/locale/`basename $i .mo`/LC_MESSAGES/$PRGNAM.mo -done - install -D -m644 $PRGNAM.1.gz $PKG/usr/man/man1/$PRGNAM.1.gz mkdir -p $PKG/usr/share/{applications,pixmaps} cp $PRGNAM.desktop $PKG/usr/share/applications -cp images/$PRGNAM.png $PKG/usr/share/pixmaps +cp images/{$PRGNAM.png,$PRGNAM.xpm} $PKG/usr/share/pixmaps 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 |