summaryrefslogtreecommitdiffstats
path: root/libraries/re2/re2.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/re2/re2.SlackBuild')
-rw-r--r--libraries/re2/re2.SlackBuild10
1 files changed, 3 insertions, 7 deletions
diff --git a/libraries/re2/re2.SlackBuild b/libraries/re2/re2.SlackBuild
index d901d87abc..e9c6ae87c8 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:-2024_04_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
@@ -93,9 +91,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 \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CONTRIBUTING.md LICENSE README SECURITY.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install