diff options
Diffstat (limited to 'misc/slop')
-rw-r--r-- | misc/slop/slop.SlackBuild | 17 | ||||
-rw-r--r-- | misc/slop/slop.info | 12 |
2 files changed, 17 insertions, 12 deletions
diff --git a/misc/slop/slop.SlackBuild b/misc/slop/slop.SlackBuild index 15b1a915b4db4..43bbfdfff2ca0 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.4} 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" @@ -60,7 +61,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -69,13 +70,17 @@ 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 ./ +cmake ./ make 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 +mv $PKG/usr/share/man $PKG/usr/ +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a COPYING README.md license.txt $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/misc/slop/slop.info b/misc/slop/slop.info index 502553f092fac..570065b473b5e 100644 --- a/misc/slop/slop.info +++ b/misc/slop/slop.info @@ -1,10 +1,10 @@ PRGNAM="slop" -VERSION="3.1.10" +VERSION="7.4" HOMEPAGE="https://github.com/naelstrof/slop" -DOWNLOAD="https://github.com/naelstrof/slop/archive/v3.1.10.tar.gz" -MD5SUM="d2e136bba6cc500bf87aa172bea57378" +DOWNLOAD="https://github.com/naelstrof/slop/archive/v7.4/slop-7.4.tar.gz" +MD5SUM="cdf2369c033778a90c7518e357b5a92a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Pedro Guimaraes" -EMAIL="moisespedro15@gmail.com" +REQUIRES="glm" +MAINTAINER="John Louis Del Rosario" +EMAIL="john2x@gmail.com" |