summaryrefslogtreecommitdiffstats
path: root/development/squeak-vm/squeak-vm.SlackBuild
diff options
context:
space:
mode:
author B. Watson2022-05-17 16:46:55 +0200
committer Willy Sudiarto Raharjo2022-05-28 04:11:25 +0200
commit8575d9de18d0a744eec5ff4df9cedbb5e8ffaf2e (patch)
treeffa58a00ca1989f78020c8cd12b78cac91e9e045 /development/squeak-vm/squeak-vm.SlackBuild
parentf9981feb4251aef3023cd63d88be96c28a692a15 (diff)
downloadslackbuilds-8575d9de18d0a744eec5ff4df9cedbb5e8ffaf2e.tar.gz
development/squeak-vm: Fix download URL.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/squeak-vm/squeak-vm.SlackBuild')
-rw-r--r--development/squeak-vm/squeak-vm.SlackBuild14
1 files changed, 10 insertions, 4 deletions
diff --git a/development/squeak-vm/squeak-vm.SlackBuild b/development/squeak-vm/squeak-vm.SlackBuild
index 0ca7482570..7bb0dd32f2 100644
--- a/development/squeak-vm/squeak-vm.SlackBuild
+++ b/development/squeak-vm/squeak-vm.SlackBuild
@@ -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