summaryrefslogtreecommitdiff
path: root/system/fish/fish.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/fish/fish.SlackBuild')
-rw-r--r--system/fish/fish.SlackBuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/system/fish/fish.SlackBuild b/system/fish/fish.SlackBuild
index 7f80669956..dab91f8217 100644
--- a/system/fish/fish.SlackBuild
+++ b/system/fish/fish.SlackBuild
@@ -1,9 +1,10 @@
#!/bin/sh
# Slackware build script for the fish shell
+
# Updated for version 1.23.1 20/09/2009
# Updated for Slackware64 28/05/2009
-#
+
# Copyright 2009 Pierre Cazenave <pwcazenave {at} gmail [dot] com>
# All rights reserved.
#
@@ -61,11 +62,12 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --docdir=/usr/doc/$PRGNAM-$VERSION
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
@@ -96,4 +98,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}