diff options
author | Marco Bonetti <sid77@slackware.it> | 2011-09-07 23:13:11 -0400 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2011-09-21 19:48:31 -0300 |
commit | f640bfb8573e7cf161d8f1ac0a368cadc81eb3e5 (patch) | |
tree | 750185e67639e7cce60cb35c1085eb8890b1b228 /libraries/nltk/nltk.SlackBuild | |
parent | 97d35b46bc867ab6bb9125d40055881d4e26de8b (diff) | |
download | slackbuilds-f640bfb8573e7cf161d8f1ac0a368cadc81eb3e5.tar.gz |
libraries/nltk: Updated for version 2.0.1rc1.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'libraries/nltk/nltk.SlackBuild')
-rw-r--r-- | libraries/nltk/nltk.SlackBuild | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/libraries/nltk/nltk.SlackBuild b/libraries/nltk/nltk.SlackBuild index 066843f49c..f3579adc99 100644 --- a/libraries/nltk/nltk.SlackBuild +++ b/libraries/nltk/nltk.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for nltk. # -# Copyright 2009-2010 Marco Bonetti <sid77@slackware.it> +# Copyright 2009-2011 Marco Bonetti <sid77@slackware.it> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,16 +23,14 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=nltk -VERSION=0.9.8 +VERSION=2.0.1rc1 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -48,9 +46,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT -cd $TMP +cd $TMP rm -rf $PRGNAM-$VERSION -tar -xzvf $CWD/$PRGNAM-$VERSION.tar.gz +unzip $CWD/$PRGNAM-$VERSION.zip cd $PRGNAM-$VERSION chown -R root:root . |