diff options
Diffstat (limited to 'games/qzdl/qzdl.SlackBuild')
-rw-r--r-- | games/qzdl/qzdl.SlackBuild | 29 |
1 files changed, 15 insertions, 14 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 |