diff options
Diffstat (limited to 'games/waterCloset/waterCloset.SlackBuild')
-rw-r--r-- | games/waterCloset/waterCloset.SlackBuild | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/games/waterCloset/waterCloset.SlackBuild b/games/waterCloset/waterCloset.SlackBuild index 48ecaeed40d96..c97048f28be35 100644 --- a/games/waterCloset/waterCloset.SlackBuild +++ b/games/waterCloset/waterCloset.SlackBuild @@ -9,15 +9,19 @@ # fix doc dir for slackware defaults. # 06/02/2020. version 1.0 first major "full" version. +# 20220430 bkw: Modified by SlackBuilds.org, BUILD=2: +# - update icon cache in doinst.sh. +# - make .desktop file validate. +# Note to maintainer: consider putting the binary in /usr/games, since +# this is a game... # 20220221 bkw: Modified by SlackBuilds.org: fix incorrect github URL. # 20220323 bkw: Modified by SlackBuilds.org: fix 32-bit build. cd $(dirname $0) ; CWD=$(pwd) PRGNAM=waterCloset -GITNAM=wc VERSION=${VERSION:-1.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -69,11 +73,13 @@ find -L . \ # 20220323 bkw: 32-bit needs this. sed -i 's,-Werror[^ ]*, ,g' makefile +# 20220430 bkw: this didn't hurt anything, but it produces noise from +# sbopkglint and it costs almost nothing to fix: +sed -i '/^Encoding/d' icons/$PRGNAM.desktop + make make install DESTDIR=$PKG - -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +strip $PKG/usr/bin/$PRGNAM mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |