diff options
Diffstat (limited to 'system/cpuinfo2cpuflags/cpuinfo2cpuflags.SlackBuild')
-rw-r--r-- | system/cpuinfo2cpuflags/cpuinfo2cpuflags.SlackBuild | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/system/cpuinfo2cpuflags/cpuinfo2cpuflags.SlackBuild b/system/cpuinfo2cpuflags/cpuinfo2cpuflags.SlackBuild index 1a4ee020231f..4496b9de6a3c 100644 --- a/system/cpuinfo2cpuflags/cpuinfo2cpuflags.SlackBuild +++ b/system/cpuinfo2cpuflags/cpuinfo2cpuflags.SlackBuild @@ -2,7 +2,7 @@ # # Slackware build script for cpuinfo2cpuflags. # -# Copyright 2015 Edinaldo P. Silva, Rio de Janeiro, Brazil. +# Copyright 2015-2017 Edinaldo P. Silva, Rio de Janeiro, Brazil. # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ PRGNAM=cpuinfo2cpuflags VERSION=${VERSION:-2.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -65,6 +65,7 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$SRCVER.tar.bz2 mv $PRGNAM-$SRCVER $PRGNAM-$VERSION cd $PRGNAM-$VERSION + chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -89,10 +90,8 @@ make install DESTDIR=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -DOCS="COPYING NEWS README" - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +cp -a COPYING NEWS README $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |