diff options
author | Petar Petrov <slackalaxy@gmail.com> | 2021-05-18 17:47:57 +0300 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-18 23:40:22 +0700 |
commit | a46290daf8ca5505f4d81c8dd1d05403e5e88f64 (patch) | |
tree | a4b06c15250702cf86ac82de0a3283d74bcca738 /system/clamtk/clamtk.SlackBuild | |
parent | 494a3af541dfecfc4e194cb1dffbe9c9c9c5ec62 (diff) |
system/clamtk: update for version 6.11
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 17e5d69ac1c73..d6f6ca12c9d64 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 |