system/clamtk: Updated for version 5.01.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Petar Petrov 2013-12-14 08:32:47 +07:00 committed by Erik Hanson
parent abb39f4e54
commit af9efff956
2 changed files with 14 additions and 14 deletions

View file

@ -2,7 +2,7 @@
# Slackware build script for clamtk # Slackware build script for clamtk
# Copyright 2012-2013 Petar Petrov, ppetrov@paju.oulu.fi # Copyright 2012-2013 Petar Petrov, petar.petrov@student.oulu.fi
# All rights reserved. # All rights reserved.
# #
# Redistribution and use of this script, with or without modification, is # Redistribution and use of this script, with or without modification, is
@ -22,11 +22,11 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# With help and dependencies information from clamtk at Arch linux AUR: # With help and dependencies information from Arch linux AUR:
# https://aur.archlinux.org/packages/clamtk/ # https://aur.archlinux.org/packages/clamtk/
PRGNAM=clamtk PRGNAM=clamtk
VERSION=${VERSION:-4.45} VERSION=${VERSION:-5.01}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -67,10 +67,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION cd $PRGNAM-$VERSION
chown -R root:root . chown -R root:root .
find -L . \ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-exec chmod 755 {} \; -o \ -o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-exec chmod 644 {} \; -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Change the menu category to System # Change the menu category to System
sed -i "s:Categories=GTK;GNOME;Utility;:Categories=System;:" $PRGNAM.desktop sed -i "s:Categories=GTK;GNOME;Utility;:Categories=System;:" $PRGNAM.desktop
@ -96,7 +96,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \ cp -a \
CHANGES DISCLAIMER LICENSE README \ CHANGES DISCLAIMER LICENSE README ./help/C/clamtk/* \
$PKG/usr/doc/$PRGNAM-$VERSION $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

View file

@ -1,10 +1,10 @@
PRGNAM="clamtk" PRGNAM="clamtk"
VERSION="4.45" VERSION="5.01"
HOMEPAGE="http://clamtk.sourceforge.net/" HOMEPAGE="http://code.google.com/p/clamtk/"
DOWNLOAD="http://downloads.sourceforge.net/project/clamtk/ClamTk/4.45/clamtk-4.45.tar.gz" DOWNLOAD="https://bitbucket.org/dave_theunsub/clamtk/downloads/clamtk-5.01.tar.gz"
MD5SUM="84beaf939d091be58b1fd77fdeb42c91" MD5SUM="6d8a1ce3b3d6e14394993aaa6418830f"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="libwww-perl perl-Date-Calc perl-net-dns perl-File-Find-Rule perl-gtk2 clamav" REQUIRES="libwww-perl perl-http-message perl-JSON perl-LWP-Protocol-https perl-Text-CSV perl-Time-Piece perl-gtk2 clamav zenity"
MAINTAINER="Petar Petrov" MAINTAINER="Petar Petrov"
EMAIL="ppetrov@paju.oulu.fi" EMAIL="petar.petrov@student.oulu.fi"