development/squeak-vm: Fix download URL.

Signed-off-by: B. Watson <urchlay@slackware.uk>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2022-05-17 10:46:55 -04:00 committed by Willy Sudiarto Raharjo
parent f9981feb42
commit 8575d9de18
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 13 additions and 10 deletions

View file

@ -5,9 +5,6 @@ Smalltalk-80 system.
Squeak has very powerful 2- and 3-D graphics, sound, video, MIDI,
animation and other multimedia capabilities.
Optional dependency: speex
NOTE:
This script only build the VM.
You may need to download the images manually via download page:
NOTE: This script only builds the VM.
You may need to download the images manually from the download page:
http://squeakvm.org/unix/download.html

View file

@ -23,12 +23,17 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# 20220517 bkw: Modified by SlackBuilds.org, BUILD=2:
# - DO NOT use ${VERSION} in DOWNLOAD, in the .info file. Seriously.
# - fix doc ownership.
# - minor grammar fix in README.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=squeak-vm
SRCNAM=Squeak
VERSION=${VERSION:-4.19.9.3816}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -72,6 +77,9 @@ cd $TMP
rm -rf $SRCNAM-$VERSION-src
tar xvf $CWD/$SRCNAM-$VERSION-src.tar.gz
cd $SRCNAM-$VERSION-src
chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
cd platforms
# Fix location of libraries (as --libdir does not work)
@ -103,9 +111,7 @@ cd ..
mkdir -p $PKG/usr/man
mv $PKG/usr/share/man/* $PKG/usr/man/
rm -rf $PKG/usr/share/
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
gzip -9 $PKG/usr/man/man*/*
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true

View file

@ -1,7 +1,7 @@
PRGNAM="squeak-vm"
VERSION="4.19.9.3816"
HOMEPAGE="http://squeakvm.org/"
DOWNLOAD="https://sourceforge.net/projects/solaris-squeak/files/Squeak-${VERSION}-src.tar.gz"
DOWNLOAD="https://sourceforge.net/projects/solaris-squeak/files/Squeak-4.19.9.3816-src.tar.gz"
MD5SUM="972e1236a131846fee8b00b7d392ccb4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""