summaryrefslogtreecommitdiff
path: root/libraries/nltk/nltk.SlackBuild
diff options
context:
space:
mode:
authorArTourter <artourter@gmail.com>2015-11-05 00:41:46 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-11-05 00:45:21 +0700
commitc0194da9ac0a00711c3b9f8ed064615da6b4b2ec (patch)
treee153bf3c9ffc277bf42eb1b1e395b805fc2c5650 /libraries/nltk/nltk.SlackBuild
parent4d0bc5f7520418d9640c0a20d5b7502dcf08542d (diff)
downloadslackbuilds-c0194da9ac0a00711c3b9f8ed064615da6b4b2ec.tar.gz
libraries/nltk: Updated for version 3.1 + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/nltk/nltk.SlackBuild')
-rw-r--r--libraries/nltk/nltk.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/libraries/nltk/nltk.SlackBuild b/libraries/nltk/nltk.SlackBuild
index add8d78623..16065ac337 100644
--- a/libraries/nltk/nltk.SlackBuild
+++ b/libraries/nltk/nltk.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=nltk
-VERSION=2.0.1rc1
+VERSION=${VERSION:-3.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -40,7 +40,7 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-DOCS="LICENSE.txt PKG-INFO README.txt"
+DOCS="LICENSE.txt PKG-INFO INSTALL.txt"
set -e
@@ -48,7 +48,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-unzip $CWD/$PRGNAM-$VERSION.zip
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .