summaryrefslogtreecommitdiff
path: root/system/clamtk/clamtk.SlackBuild
diff options
context:
space:
mode:
authorPetar Petrov <slackalaxy@gmail.com>2016-11-26 21:24:32 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-12-03 07:17:45 +0700
commitf2afa5c89ce054eb098eceaeec964e5e1f56de2f (patch)
tree8a3c189500a0d551ceef9a6b1f339af2cf78f07d /system/clamtk/clamtk.SlackBuild
parent8d79c453ce84a7b17a6c78f14cd474bb3b23d5eb (diff)
downloadslackbuilds-f2afa5c89ce054eb098eceaeec964e5e1f56de2f.tar.gz
system/clamtk: Updated for version 5.24.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/clamtk/clamtk.SlackBuild')
-rw-r--r--system/clamtk/clamtk.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/system/clamtk/clamtk.SlackBuild b/system/clamtk/clamtk.SlackBuild
index 0845f19b4f..434af64ab4 100644
--- a/system/clamtk/clamtk.SlackBuild
+++ b/system/clamtk/clamtk.SlackBuild
@@ -26,13 +26,13 @@
# https://aur.archlinux.org/packages/clamtk/
PRGNAM=clamtk
-VERSION=${VERSION:-5.20}
+VERSION=${VERSION:-5.24}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -43,8 +43,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -97,7 +97,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CHANGES DISCLAIMER LICENSE README ./help/C/clamtk/* $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGES DISCLAIMER LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install