diff options
Diffstat (limited to 'misc/slop/slop.SlackBuild')
-rw-r--r-- | misc/slop/slop.SlackBuild | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/misc/slop/slop.SlackBuild b/misc/slop/slop.SlackBuild index 15b1a915b4..693962d3c0 100644 --- a/misc/slop/slop.SlackBuild +++ b/misc/slop/slop.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for slop # Copyright 2014 <moisespedro15@gmail.com> +# Copyright 2019 <john2x@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,13 +24,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=slop -VERSION=${VERSION:-3.1.10} +VERSION=${VERSION:-7.5} 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 @@ -40,8 +41,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" @@ -69,9 +70,12 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - cmake ./ - make - make install DESTDIR=$PKG +cmake ./ +make +make install DESTDIR=$PKG + +mv $PKG/usr/share/man $PKG/usr +rm -rf $PKG/usr/share 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 |