diff options
author | David Woodfall <dave@dawoodfall.net> | 2016-07-28 18:26:50 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-07-30 06:04:39 +0700 |
commit | 31c76332ae0bef0cca54777a3123fb84a3dc9443 (patch) | |
tree | aa73081af40c2718e3d773468efa656ce5feb55b /network/limnoria/limnoria.SlackBuild | |
parent | e96f0a975b85aed331ce61999c92a8c4925dc2a0 (diff) | |
download | slackbuilds-31c76332ae0bef0cca54777a3123fb84a3dc9443.tar.gz |
network/limnoria: Updated for version git20160728.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/limnoria/limnoria.SlackBuild')
-rw-r--r-- | network/limnoria/limnoria.SlackBuild | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/network/limnoria/limnoria.SlackBuild b/network/limnoria/limnoria.SlackBuild index 1c3d8e8ef0..e4cb41f72f 100644 --- a/network/limnoria/limnoria.SlackBuild +++ b/network/limnoria/limnoria.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Slackware build script for python-limnoria +# Slackware build script for limnoria # Copyright 2013 David Woodfall <dave@dawoodfall.net> # All rights reserved. # @@ -22,13 +22,14 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=limnoria -VERSION=${VERSION:-git20130805} +SRCNAM=Limnoria +VERSION=${VERSION:-git20160728} 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 @@ -39,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" @@ -58,9 +59,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.xz -cd $PRGNAM-$VERSION +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.xz +cd $SRCNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -80,7 +81,7 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - ChangeLog INSTALL.md LICENSE.md README.md docs \ + ChangeLog CONTRIBUTING.md LICENSE.md README.md RELNOTES \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |