graphics/xzgv: Updated for version 0.9.2.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
9c6e090e2f
commit
739ded0f6c
|
@ -0,0 +1,3 @@
|
|||
if [ -x /usr/bin/update-desktop-database ]; then
|
||||
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
|
||||
fi
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Slackware build script for xzgv
|
||||
|
||||
# Copyright (c) 2010 Markus Reichelt, Aachen, DE
|
||||
# Copyright (c) 2010-2018 Markus Reichelt, Aachen, DE
|
||||
# All rights reserved.
|
||||
#
|
||||
# Permission to use, copy, modify, and distribute this software for
|
||||
|
@ -24,16 +24,15 @@
|
|||
# SUCH DAMAGE.
|
||||
#
|
||||
# markus reichelt, slackbuilds@mareichelt.de, 0xCCEEF115
|
||||
# 2010 June 1 - initial release
|
||||
|
||||
PRGNAM=xzgv
|
||||
VERSION=${VERSION:-0.9.1}
|
||||
BUILD=${BUILD:-2}
|
||||
VERSION=${VERSION:-0.9.2}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
i?86) ARCH=i486 ;;
|
||||
i?86) ARCH=i586 ;;
|
||||
arm*) ARCH=arm ;;
|
||||
*) ARCH=$( uname -m ) ;;
|
||||
esac
|
||||
|
@ -45,8 +44,8 @@ TMP=${TMP:-/tmp/SBo}
|
|||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
if [ "$ARCH" = "i486" ]; then
|
||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
if [ "$ARCH" = "i586" ]; then
|
||||
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
|
@ -86,14 +85,18 @@ echo "USE_A4_DEF=-t @afourpaper">>config.mk
|
|||
echo "LDFLAGS=-lX11 -lm">> config.mk
|
||||
|
||||
make
|
||||
cd doc ; make info ; cd ..
|
||||
make install
|
||||
mv src/xzgv $PKG/usr/bin
|
||||
|
||||
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
||||
mv doc/xzgv.1 $PKG/usr/man/man1
|
||||
|
||||
find $PKG/usr/man/man1 -type f -exec gzip -9 {} \;
|
||||
rm -f $PKG/usr/info/dir
|
||||
rmdir $PKG/usr/info
|
||||
|
||||
mkdir -p $PKG/usr/share/applications
|
||||
cat src/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a \
|
||||
|
@ -103,6 +106,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
|||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="xzgv"
|
||||
VERSION="0.9.1"
|
||||
VERSION="0.9.2"
|
||||
HOMEPAGE="https://sourceforge.net/projects/xzgv/"
|
||||
DOWNLOAD="https://downloads.sourceforge.net/xzgv/xzgv-0.9.1.tar.gz"
|
||||
MD5SUM="d6452ebd4911d986fa1176086afb6e33"
|
||||
DOWNLOAD="https://downloads.sourceforge.net/xzgv/xzgv-0.9.2.tar.gz"
|
||||
MD5SUM="87d14e59268ace5ba83005a6e20e2be7"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
MAINTAINER="markus reichelt"
|
||||
MAINTAINER="Markus Reichelt"
|
||||
EMAIL="slackbuilds@mareichelt.de"
|
||||
|
|
Loading…
Reference in New Issue