diff options
author | B. Watson <yalhcru@gmail.com> | 2021-10-18 05:02:53 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-10-29 17:07:15 +0700 |
commit | 232bb40d6a82f1623cb568ec6b42534c2931d2be (patch) | |
tree | 13d72af11d5400eda777815dc00d8227edf5e248 /games/trackballs/trackballs.SlackBuild | |
parent | e3d949db0beb2d100710f27d9c9455844a8fc43e (diff) |
games/trackballs: Updated for version 1.3.3.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/trackballs/trackballs.SlackBuild')
-rw-r--r-- | games/trackballs/trackballs.SlackBuild | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/games/trackballs/trackballs.SlackBuild b/games/trackballs/trackballs.SlackBuild index d8f956a864593..d6608edba2def 100644 --- a/games/trackballs/trackballs.SlackBuild +++ b/games/trackballs/trackballs.SlackBuild @@ -6,6 +6,11 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20211018 bkw: +# - update for v1.3.3 +# - drop guile2.2 dependency (Slackware's guile 3 works OK) +# - use symlink instead of copy for /usr/share/pixmaps icon +# - put html docs in actual html/ dir in docdir # 20210222 bkw: update for v1.3.2 # 20201024 bkw: update for v1.3.1 # 20170621 bkw: fix build on -current @@ -13,7 +18,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=trackballs -VERSION=${VERSION:-1.3.2} +VERSION=${VERSION:-1.3.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -26,9 +31,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 @@ -72,7 +74,7 @@ cd build cmake \ -DTRACKBALLS_BIN_DIR=/usr/games \ -DTRACKBALLS_MAN_DIR=/usr/man \ - -DTRACKBALLS_DOC_DIR=/usr/doc/$PRGNAM-$VERSION \ + -DTRACKBALLS_DOC_DIR=/usr/doc/$PRGNAM-$VERSION/html \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -std=c++11" \ -DCMAKE_INSTALL_PREFIX=/usr \ @@ -84,13 +86,12 @@ cd .. gzip $PKG/usr/man/man6/$PRGNAM.6 -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/html cp -a README* AUTHORS* COPYING* FAQ* TODO* NEWS* $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild # Compatibility icon for old-school window managers. mkdir -p $PKG/usr/share/pixmaps -cat share/icons/$PRGNAM-64x64.png > $PKG/usr/share/pixmaps/$PRGNAM.png +ln -s ../icons/hicolor/48x48/apps/$PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |