summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
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
commita46290daf8ca5505f4d81c8dd1d05403e5e88f64 (patch)
treea4b06c15250702cf86ac82de0a3283d74bcca738
parent494a3af541dfecfc4e194cb1dffbe9c9c9c5ec62 (diff)
downloadslackbuilds-a46290daf8ca5505f4d81c8dd1d05403e5e88f64.tar.gz
slackbuilds-a46290daf8ca5505f4d81c8dd1d05403e5e88f64.tar.xz
system/clamtk: update for version 6.11
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/clamtk/clamtk.SlackBuild12
-rw-r--r--system/clamtk/clamtk.info8
2 files changed, 8 insertions, 12 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
diff --git a/system/clamtk/clamtk.info b/system/clamtk/clamtk.info
index a0a07e72d8..51c4684744 100644
--- a/system/clamtk/clamtk.info
+++ b/system/clamtk/clamtk.info
@@ -1,8 +1,8 @@
PRGNAM="clamtk"
-VERSION="6.05"
-HOMEPAGE="https://dave-theunsub.github.io/clamtk/"
-DOWNLOAD="https://bitbucket.org/davem_/clamtk-gtk3/downloads/clamtk-6.05.tar.xz"
-MD5SUM="71896ca2ecabddf9938523a1f0e357ab"
+VERSION="6.11"
+HOMEPAGE="https://github.com/dave-theunsub/clamtk"
+DOWNLOAD="https://github.com/dave-theunsub/clamtk/archive/v6.11/clamtk-6.11.tar.gz"
+MD5SUM="06317b760c9844a977c38d392318ff61"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libwww-perl perl-http-message perl-JSON perl-LWP-Protocol-https perl-Text-CSV perl-Gtk3 clamav zenity"