|
|
@ -1,6 +1,6 @@ |
|
|
|
#!/bin/bash |
|
|
|
# Build script for Slackware |
|
|
|
# Copyright 2008,2009,2011,2013 Damien Goutte-Gattat |
|
|
|
# Copyright 2008,2009,2011,2013,2017 Damien Goutte-Gattat |
|
|
|
# |
|
|
|
# Redistribution and use of this script, with or without modifications, |
|
|
|
# is permitted provided that the following conditions are met: |
|
|
@ -27,7 +27,7 @@ |
|
|
|
|
|
|
|
# Source package infos |
|
|
|
NAMESRC=${NAMESRC:-foo2zjs} |
|
|
|
VERSION=${VERSION:-20131209} |
|
|
|
VERSION=${VERSION:-20161203} |
|
|
|
ARCHIVE=${ARCHIVE:-$NAMESRC.tar.gz} |
|
|
|
WGET=${WGET:-http://foo2zjs.rkkda.com/$ARCHIVE} |
|
|
|
|
|
|
@ -74,7 +74,7 @@ if [ ! -r $ARCHIVE ]; then |
|
|
|
wget -c -O $ARCHIVE.part "$WGET" |
|
|
|
mv $ARCHIVE.part $ARCHIVE |
|
|
|
fi |
|
|
|
sha1sum -c $ARCHIVE.sha1 |
|
|
|
sha256sum -c $ARCHIVE.sha256 |
|
|
|
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1) |
|
|
|
|
|
|
|
# Extract |
|
|
|