From ffa5ded1218bbf7e04ef6d2d40850bd66592157e Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Thu, 16 Apr 2020 05:50:33 -0400 Subject: games/qzdl: New maintainer. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- games/qzdl/qzdl.SlackBuild | 29 +++++++++++++++-------------- games/qzdl/qzdl.info | 4 ++-- 2 files changed, 17 insertions(+), 16 deletions(-) (limited to 'games') diff --git a/games/qzdl/qzdl.SlackBuild b/games/qzdl/qzdl.SlackBuild index bb793949d5..269e7488fd 100644 --- a/games/qzdl/qzdl.SlackBuild +++ b/games/qzdl/qzdl.SlackBuild @@ -2,7 +2,8 @@ # Slackware build script for qzdl # -# Copyright 2015 Gethyn ThomasQuail +# Copyright 2015 Gethyn ThomasQuail +# 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 afc05874c7..640628cd7a 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" -- cgit v1.2.3