games/qzdl: New maintainer.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
4562d866c0
commit
ffa5ded121
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue