diff options
Diffstat (limited to 'system/sakura/sakura.SlackBuild')
-rw-r--r-- | system/sakura/sakura.SlackBuild | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/system/sakura/sakura.SlackBuild b/system/sakura/sakura.SlackBuild index 63d31a7894..1f6dd92142 100644 --- a/system/sakura/sakura.SlackBuild +++ b/system/sakura/sakura.SlackBuild @@ -1,7 +1,8 @@ #!/bin/bash # Slackware build script for sakura -# Copyright 2022-2024 Andrew Payne <phalange@komputermatrix.com> + +# Copyright 2022-2025 Andrew Payne <phalange@komputermatrix.com> # Copyright 2017 Donald Cooley South Haven, IN USA # Updated by Eugene Wissner <eugen@flevum.de> # Updated by Kristaps Esterlins <esterlinsh[at]gmail.com> @@ -28,8 +29,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=sakura -SRCNAM=SAKURA_3_8_8 -VERSION=${VERSION:-3.8.8} +SRCNAM=SAKURA_3_8_9 +VERSION=${VERSION:-3.8.9} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -42,8 +43,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" @@ -72,6 +71,7 @@ cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$SRCNAM.tar.gz cd $PRGNAM-$SRCNAM + chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -81,13 +81,13 @@ find -L . \ mkdir -p build cd build - cmake \ + cmake -G Ninja \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release .. -make -make install DESTDIR=$PKG + "${NINJA:=ninja}" + DESTDIR=$PKG $NINJA install cd .. find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ @@ -98,7 +98,9 @@ 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 mv $PKG/usr/doc/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + AUTHORS LICENSE README.md \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |