From 8575d9de18d0a744eec5ff4df9cedbb5e8ffaf2e Mon Sep 17 00:00:00 2001 From: B. Watson Date: Tue, 17 May 2022 10:46:55 -0400 Subject: development/squeak-vm: Fix download URL. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- development/squeak-vm/squeak-vm.SlackBuild | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'development/squeak-vm/squeak-vm.SlackBuild') 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 -- cgit v1.2.3