diff options
author | B. Watson <yalhcru@gmail.com> | 2021-10-20 00:29:01 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-10-29 17:07:19 +0700 |
commit | 10ad4368bd16e95d82b95f7a1050da3f74fb5c46 (patch) | |
tree | 6896d1055ce6e192849bd405662b528f0459436f /games/koules/koules.SlackBuild | |
parent | f5430c90eeb9eb5bd7500e8e8642866aa4e76090 (diff) |
games/koules: Fix -current build.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/koules/koules.SlackBuild')
-rw-r--r-- | games/koules/koules.SlackBuild | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/games/koules/koules.SlackBuild b/games/koules/koules.SlackBuild index 82350e46c52a8..bad144a18bea9 100644 --- a/games/koules/koules.SlackBuild +++ b/games/koules/koules.SlackBuild @@ -10,11 +10,13 @@ # This script doesn't share any code with whatever build script # existed back then (partly because I couldn't find a copy) +# 20211020 bkw: BUILD=3, fix -current build. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=koules VERSION=${VERSION:-1.4} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -26,9 +28,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 @@ -67,11 +66,8 @@ rm -rf $PRGNAM$VERSION tar xvf $CWD/$PRGNAM$VERSION-src.tar.gz cd $PRGNAM$VERSION chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ # 20140502 bkw: modern Slackware has OSS modules disabled by default, # so wrap the sound server in aoss. @@ -107,7 +103,7 @@ xmkmf -a # Did I mention I hate Imake? find . -name Makefile | \ - xargs sed -i -e "s/-O2.*/$SLKCFLAGS/" + xargs sed -i -e "s/-O2.*/$SLKCFLAGS -fcommon/" touch xkoules.man # 20140502 bkw: |