summaryrefslogtreecommitdiff
path: root/misc/linux_logo/linux_logo.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'misc/linux_logo/linux_logo.SlackBuild')
-rw-r--r--misc/linux_logo/linux_logo.SlackBuild19
1 files changed, 10 insertions, 9 deletions
diff --git a/misc/linux_logo/linux_logo.SlackBuild b/misc/linux_logo/linux_logo.SlackBuild
index bbcc37aa6b..48e6e9434b 100644
--- a/misc/linux_logo/linux_logo.SlackBuild
+++ b/misc/linux_logo/linux_logo.SlackBuild
@@ -3,6 +3,7 @@
# 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
@@ -23,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=linux_logo
-VERSION=${VERSION:-5.11}
+VERSION=${VERSION:-6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -64,10 +65,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 +78,7 @@ CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr
-make
+make logos-all
make install PREFIX=$PKG/usr
( cd $PKG/usr ; mv share/man . )
@@ -86,9 +87,9 @@ 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