summaryrefslogtreecommitdiffstats
path: root/misc/linux_logo
diff options
context:
space:
mode:
Diffstat (limited to 'misc/linux_logo')
-rw-r--r--misc/linux_logo/linux_logo.SlackBuild41
-rw-r--r--misc/linux_logo/linux_logo.info10
2 files changed, 31 insertions, 20 deletions
diff --git a/misc/linux_logo/linux_logo.SlackBuild b/misc/linux_logo/linux_logo.SlackBuild
index bbcc37aa6b..ec2f187832 100644
--- a/misc/linux_logo/linux_logo.SlackBuild
+++ b/misc/linux_logo/linux_logo.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for linux_logo
# Copyright 2007, 2008 Steve Kennedy <steve@gnomeslackbuild.org>
+# Copyright 2019-2020 Gregory J. L. Tourte <artourter@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,26 +23,36 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=linux_logo
-VERSION=${VERSION:-5.11}
+VERSION=${VERSION:-6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
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"
@@ -64,10 +75,10 @@ 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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
+ -exec chmod 644 {} \;
#force to accept our CFLAGS
sed -i "s|CFLAGS=\"|CFLAGS+=\" |" configure
@@ -77,7 +88,7 @@ CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr
-make
+make logos-all
make install PREFIX=$PKG/usr
( cd $PKG/usr ; mv share/man . )
@@ -86,13 +97,13 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a ANNOUNCE.logo README.CUSTOM_LOGOS BUGS README.SECURITY \
- CHANGES README.history CHANGES_IN_5.0 TODO COPYING USAGE \
- LINUX_LOGO.FAQ README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a BUGS CHANGES CHANGES_IN_6.0 COPYING LINUX_LOGO.FAQ README \
+ README.CUSTOM_LOGOS README.SECURITY README.history RELEASE_PROCEDURE \
+ TODO USAGE $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/misc/linux_logo/linux_logo.info b/misc/linux_logo/linux_logo.info
index ea1e7802e6..4bc174c8e8 100644
--- a/misc/linux_logo/linux_logo.info
+++ b/misc/linux_logo/linux_logo.info
@@ -1,10 +1,10 @@
PRGNAM="linux_logo"
-VERSION="5.11"
+VERSION="6.0"
HOMEPAGE="http://www.deater.net/weave/vmwprod/linux_logo/"
-DOWNLOAD="http://www.deater.net/weave/vmwprod/linux_logo/linux_logo-5.11.tar.gz"
-MD5SUM="8e52af520368980ceba978330881e36e"
+DOWNLOAD="http://www.deater.net/weave/vmwprod/linux_logo/linux_logo-6.0.tar.gz"
+MD5SUM="9992285b9b8483c65350f338340ea3d4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Steve Kennedy"
-EMAIL="steve@gnomeslackbuild.org"
+MAINTAINER="ArTourter"
+EMAIL="artourter@gmail.com"