From c9ffd57afc5f2ee3701252aa7476cefa864a3f14 Mon Sep 17 00:00:00 2001 From: Andrew Clemons Date: Sun, 25 Sep 2022 20:39:40 +0900 Subject: libraries/cereal: Remove template comments (pass sbolint). Signed-off-by: Andrew Clemons Signed-off-by: Willy Sudiarto Raharjo --- libraries/cereal/cereal.SlackBuild | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'libraries') diff --git a/libraries/cereal/cereal.SlackBuild b/libraries/cereal/cereal.SlackBuild index 6cf56bf543..1d77d623d5 100644 --- a/libraries/cereal/cereal.SlackBuild +++ b/libraries/cereal/cereal.SlackBuild @@ -30,19 +30,14 @@ BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; arm*) ARCH=arm ;; -# Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; 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 @@ -66,7 +61,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -81,8 +76,6 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -# Your application will probably need different cmake flags; these are only -# examples. You might use 'ccmake' to see the available flags... mkdir -p build cd build cmake \ -- cgit v1.2.3