aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2020-04-16 05:50:33 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-04-19 10:52:27 +0700
commitffa5ded1218bbf7e04ef6d2d40850bd66592157e (patch)
tree0572380624986ed2de3d513909a67902cd9fc014
parent4562d866c032121572f8bd5073efdaa8d1a60151 (diff)
games/qzdl: New maintainer.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--games/qzdl/qzdl.SlackBuild29
-rw-r--r--games/qzdl/qzdl.info4
2 files changed, 17 insertions, 16 deletions
diff --git a/games/qzdl/qzdl.SlackBuild b/games/qzdl/qzdl.SlackBuild
index bb793949d5b22..269e7488fdb93 100644
--- a/games/qzdl/qzdl.SlackBuild
+++ b/games/qzdl/qzdl.SlackBuild
@@ -2,7 +2,8 @@
# Slackware build script for qzdl
#
-# Copyright 2015 Gethyn ThomasQuail <gethyn@bloodbathsoftworks.com>
+# Copyright 2015 Gethyn ThomasQuail <email removed>
+# Copyright 2020 B. Watson
# All rights reserved.
#
# Based on:
@@ -25,6 +26,12 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20200416 bkw:
+# - take over maintenance
+# - binaries in /usr/games
+# - symlink icon to /usr/share/icons
+# - various tweaks
+
PRGNAM=qzdl
VERSION=${VERSION:-3.2.2.3}
BUILD=${BUILD:-2}
@@ -66,13 +73,7 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.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 {} \;
-# Let's compile!
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -85,17 +86,17 @@ find -L . \
make
-# Makes bin directory and copies over executable
-mkdir -p $PKG/usr/bin
-cp -a zdl $PKG/usr/bin
+mkdir -p $PKG/usr/games
+install -s -m0755 zdl $PKG/usr/games
+ln -s zdl $PKG/usr/games/$PRGNAM
-# Makes desktop file related directories
-mkdir -p $PKG/usr/share/applications
-mkdir -p $PKG/usr/share/pixmaps
+mkdir -p $PKG/usr/share/applications \
+ $PKG/usr/share/pixmaps \
+ $PKG/usr/share/icons/hicolor/scalable/apps
-# Copies over desktop file and icon
cp $CWD/qzdl.desktop $PKG/usr/share/applications
cp -a res/zdl3.svg $PKG/usr/share/pixmaps
+ln -s ../../../../pixmaps/zdl3.svg $PKG/usr/share/icons/hicolor/scalable/apps
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS CHANGELOG LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/games/qzdl/qzdl.info b/games/qzdl/qzdl.info
index afc05874c7b19..640628cd7a125 100644
--- a/games/qzdl/qzdl.info
+++ b/games/qzdl/qzdl.info
@@ -6,5 +6,5 @@ MD5SUM="50e61034d288d57ab3aecbd03dcf946a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Dugan Chen"
-EMAIL="thedoogster [at] gmail [dot] com"
+MAINTAINER="B. Watson"
+EMAIL="yalhcru@gmail.com"