summaryrefslogtreecommitdiff
path: root/system/fish/fish.SlackBuild
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2016-11-09 10:49:44 +0000
committerDavid Spencer <idlemoor@slackbuilds.org>2016-11-11 20:36:22 +0000
commite8b25fc7eb3f94863cb185930e76511c4c3f5562 (patch)
treeeb6f6d3fd992bccbb4eca304ae9a7533a0589131 /system/fish/fish.SlackBuild
parent2289acf09bbf34c633d1805e55d859f4f3900700 (diff)
downloadslackbuilds-e8b25fc7eb3f94863cb185930e76511c4c3f5562.tar.gz
system/fish: Updated for version 2.4.0.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/fish/fish.SlackBuild')
-rw-r--r--system/fish/fish.SlackBuild14
1 files changed, 7 insertions, 7 deletions
diff --git a/system/fish/fish.SlackBuild b/system/fish/fish.SlackBuild
index 7f3eee778f..15226a6e46 100644
--- a/system/fish/fish.SlackBuild
+++ b/system/fish/fish.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for the fish shell.
# Copyright 2009 Pierre Cazenave <pwcazenave {at} gmail [dot] com>
-# Copyright 2015, Edinaldo P. Silva, Rio de Janeiro, Brazil.
+# Copyright 2015-2016, Edinaldo P. Silva, Rio de Janeiro, Brazil.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,13 +24,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=fish
-VERSION=${VERSION:-2.3.1}
+VERSION=${VERSION:-2.4.0}
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
@@ -41,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"
@@ -81,7 +81,7 @@ CXXFLAGS="$SLKCFLAGS" \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux
-make
+make V=1
make install DESTDIR=$PKG
# Let's not clobber the config
@@ -97,7 +97,7 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
# Remove manual pages that overwrites coreutils' man pages
rm -f $PKG/usr/man/man1/{echo,false,pwd,test,true}.1.gz
-cp -a CONTRIBUTING.md COPYING README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGELOG.md CONTRIBUTING.md COPYING README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install