diff options
Diffstat (limited to 'network/profanity/profanity.SlackBuild')
-rw-r--r-- | network/profanity/profanity.SlackBuild | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/network/profanity/profanity.SlackBuild b/network/profanity/profanity.SlackBuild index 6cab1305b1..708a1879f8 100644 --- a/network/profanity/profanity.SlackBuild +++ b/network/profanity/profanity.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for profanity -# Copyright 2015 Pedro R.M. Júnior, Campinas-SP, Brazil +# Copyright 2015-2018 Pedro R.M. Júnior, Campinas, SP, Brazil # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,13 +23,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=profanity -VERSION=${VERSION:-0.4.6} +VERSION=${VERSION:-0.5.1} 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 +40,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" @@ -90,7 +90,7 @@ 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 TODO LICENSE.txt COPYING $PKG/usr/doc/$PRGNAM-$VERSION +cp -a LICENSE.txt COPYING $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |