aboutsummaryrefslogtreecommitdiff
path: root/libraries/re2/re2.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/re2/re2.SlackBuild')
-rw-r--r--libraries/re2/re2.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/libraries/re2/re2.SlackBuild b/libraries/re2/re2.SlackBuild
index d901d87abce59..e44d645a5ade5 100644
--- a/libraries/re2/re2.SlackBuild
+++ b/libraries/re2/re2.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for re2
# Copyright 2018-2020 Larry Hajali <larryhaja[at]gmail[dot]com>
+# Copyright 2024 Isaac Yu <isaacyu@protonmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=re2
-VERSION=${VERSION:-2020_05_01}
+VERSION=${VERSION:-2023_11_01}
PKGVER=$(echo $VERSION | tr _ -)
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -39,9 +40,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
@@ -94,7 +92,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
rm -f $PKG/usr/lib${LIBDIRSUFFIX}/*.a
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS BUILD CONTRIBUTING.md CONTRIBUTORS LICENSE README WORKSPACE \
+ AUTHORS CONTRIBUTING.md CONTRIBUTORS LICENSE README \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild