summaryrefslogtreecommitdiff
path: root/libraries/nltk/nltk.SlackBuild
diff options
context:
space:
mode:
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 . \