summaryrefslogtreecommitdiff
path: root/libraries/nltk/nltk.SlackBuild
diff options
context:
space:
mode:
authorArTourter <artourter@gmail.com>2018-07-06 22:57:38 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2018-07-06 22:57:38 +0100
commitd6cbf0061444312f847791aa4ec6f8080896a3c1 (patch)
tree7f2acf963cdf71ab910f402aa9ca42ec246e9046 /libraries/nltk/nltk.SlackBuild
parentfcb5ffe83553a7cdfb6cc4fabcace6559e3d5992 (diff)
downloadslackbuilds-d6cbf0061444312f847791aa4ec6f8080896a3c1.tar.gz
libraries/nltk: Updated for version 3.3.0.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'libraries/nltk/nltk.SlackBuild')
-rw-r--r--libraries/nltk/nltk.SlackBuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/libraries/nltk/nltk.SlackBuild b/libraries/nltk/nltk.SlackBuild
index 6900e891da..96766d1ae2 100644
--- a/libraries/nltk/nltk.SlackBuild
+++ b/libraries/nltk/nltk.SlackBuild
@@ -23,13 +23,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=nltk
-VERSION=${VERSION:-3.2.5}
+VERSION=${VERSION:-3.3.0}
+SRCVER=3.3
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
@@ -47,9 +48,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-$SRCVER
+unzip $CWD/$PRGNAM-$VERSION.zip
+cd $PRGNAM-$SRCVER
chown -R root:root .
find -L . \