summaryrefslogtreecommitdiffstats
path: root/libraries/antlr4/antlr4.SlackBuild
diff options
context:
space:
mode:
author Willy Sudiarto Raharjo <willysr@slackbuilds.org>2022-04-21 22:49:54 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2022-04-24 01:47:19 +0700
commit1fadfddbc9c541164c9a13fa76c2cb6e5cefd530 (patch)
treea3a1967062f5f1f65165c25434bf46c668d17586 /libraries/antlr4/antlr4.SlackBuild
parentd06df470d90e48b15f478c73057af79a94ec40b1 (diff)
downloadslackbuilds-1fadfddbc9c541164c9a13fa76c2cb6e5cefd530.tar.gz
slackbuilds-1fadfddbc9c541164c9a13fa76c2cb6e5cefd530.tar.xz
libraries/antlr4: Updated for version 4.10.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/antlr4/antlr4.SlackBuild')
-rw-r--r--libraries/antlr4/antlr4.SlackBuild11
1 files changed, 2 insertions, 9 deletions
diff --git a/libraries/antlr4/antlr4.SlackBuild b/libraries/antlr4/antlr4.SlackBuild
index 4dcf42b710..46a7120891 100644
--- a/libraries/antlr4/antlr4.SlackBuild
+++ b/libraries/antlr4/antlr4.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for antlr4
-# Copyright 2019-2021 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2019-2022 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=antlr4
-VERSION=${VERSION:-4.9.3}
+VERSION=${VERSION:-4.10.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,9 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -92,10 +89,6 @@ cd build
make install DESTDIR=$PKG
cd ..
-if [ "$ARCH" = "x86_64" ]; then
- mv $PKG/usr/lib $PKG/usr/lib${LIBDIRSUFFIX}
-fi
-
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