aboutsummaryrefslogtreecommitdiff
path: root/desktop/spectrwm/spectrwm.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/spectrwm/spectrwm.SlackBuild')
-rw-r--r--desktop/spectrwm/spectrwm.SlackBuild11
1 files changed, 5 insertions, 6 deletions
diff --git a/desktop/spectrwm/spectrwm.SlackBuild b/desktop/spectrwm/spectrwm.SlackBuild
index 23775b2dc2..b36d8dad2d 100644
--- a/desktop/spectrwm/spectrwm.SlackBuild
+++ b/desktop/spectrwm/spectrwm.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2020-2024 Andrew Payne <phalange@komputermatrix.com>
+# Copyright 2020-2025 Andrew Payne <phalange@komputermatrix.com>
# Copyright (c) 2011-2015 LEVAI Daniel
# All rights reserved.
#
@@ -24,7 +24,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=spectrwm
-VERSION=${VERSION:-3.6.0}
+VERSION=${VERSION:-3.7.0}
SRCNAM=SPECTRWM_${VERSION//./_}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -38,8 +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"
@@ -81,6 +79,7 @@ find -L . \
cd linux
CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
make \
PREFIX=/usr \
LIBDIR=/usr/lib${LIBDIRSUFFIX} \
@@ -111,9 +110,9 @@ rm -f $PKG/usr/bin/scrotwm
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
-# Put an extra copy of the default config with the other example files
+# Put an extra copy of the default config with docs
cp -a \
- spectrwm.conf \
+ CHANGELOG.md LICENSE.md README.md spectrwm.conf \
$PKG/usr/doc/$PRGNAM-$VERSION/examples
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild