summaryrefslogtreecommitdiff
path: root/games/trackballs
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-10-18 05:02:53 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-29 17:07:15 +0700
commit232bb40d6a82f1623cb568ec6b42534c2931d2be (patch)
tree13d72af11d5400eda777815dc00d8227edf5e248 /games/trackballs
parente3d949db0beb2d100710f27d9c9455844a8fc43e (diff)
downloadslackbuilds-232bb40d6a82f1623cb568ec6b42534c2931d2be.tar.gz
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')
-rw-r--r--games/trackballs/trackballs.SlackBuild15
-rw-r--r--games/trackballs/trackballs.info8
2 files changed, 12 insertions, 11 deletions
diff --git a/games/trackballs/trackballs.SlackBuild b/games/trackballs/trackballs.SlackBuild
index d8f956a864..d6608edba2 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
diff --git a/games/trackballs/trackballs.info b/games/trackballs/trackballs.info
index 532eeb57f7..a6ed5be6a5 100644
--- a/games/trackballs/trackballs.info
+++ b/games/trackballs/trackballs.info
@@ -1,10 +1,10 @@
PRGNAM="trackballs"
-VERSION="1.3.2"
+VERSION="1.3.3"
HOMEPAGE="https://trackballs.github.io/"
-DOWNLOAD="https://github.com/trackballs/trackballs/archive/v1.3.2/trackballs-1.3.2.tar.gz"
-MD5SUM="85b128afca8b55d8e7ae02c21fa0427e"
+DOWNLOAD="https://github.com/trackballs/trackballs/archive/v1.3.3/trackballs-1.3.3.tar.gz"
+MD5SUM="404c325211f7ea13339a693c91aa6bf2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="guile2.2"
+REQUIRES=""
MAINTAINER="B. Watson"
EMAIL="yalhcru@gmail.com"