aboutsummaryrefslogtreecommitdiff
path: root/libraries/nltk/nltk.SlackBuild
diff options
context:
space:
mode:
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 add8d78623c5f..16065ac3373e4 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 .