summaryrefslogtreecommitdiff
path: root/development/coccinelle/coccinelle.SlackBuild
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2015-05-04 19:24:40 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-05-10 07:04:56 +0700
commit86d6aec9370af51e33967eb3d43902bb938f1aa8 (patch)
tree1c3cd68141f5706307f7c8fe4a31604f5b8eabef /development/coccinelle/coccinelle.SlackBuild
parent37a41d1669447ec490c23f99e7b6b9dd59443a59 (diff)
downloadslackbuilds-86d6aec9370af51e33967eb3d43902bb938f1aa8.tar.gz
development/coccinelle: Updated for version 1.0.0.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'development/coccinelle/coccinelle.SlackBuild')
-rw-r--r--development/coccinelle/coccinelle.SlackBuild11
1 files changed, 5 insertions, 6 deletions
diff --git a/development/coccinelle/coccinelle.SlackBuild b/development/coccinelle/coccinelle.SlackBuild
index 254f872e21..c330891826 100644
--- a/development/coccinelle/coccinelle.SlackBuild
+++ b/development/coccinelle/coccinelle.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for coccinelle
-# Copyright 2014 Dimitris Zlatanidis Greece-Orestiada
+# Copyright 2014 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,8 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=coccinelle
-VERSION=${VERSION:-1.0.0_rc24}
-SRCVERSION=$(echo $VERSION | tr _ -)
+VERSION=${VERSION:-1.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,9 +59,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$SRCVERSION
-tar xvf $CWD/$PRGNAM-$SRCVERSION.tgz
-cd $PRGNAM-$SRCVERSION
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tgz
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \