aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Woodfall <dave@dawoodfall.net>2011-03-04 23:56:26 -0300
committerNiels Horn <niels.horn@slackbuilds.org>2011-03-04 23:56:26 -0300
commit800ce8b7ac43fd06eb986b06db8a2afa30940777 (patch)
tree4031e30eb14869ff4d7b4b2db34c3d064b4c8992
parent7a2134b989d3fea681841f2698fd19b062f0db7d (diff)
misc/figlet: Updated download info + misc. cleanups
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
-rw-r--r--misc/figlet/figlet.SlackBuild11
-rw-r--r--misc/figlet/figlet.info8
-rw-r--r--misc/figlet/slack-desc14
3 files changed, 14 insertions, 19 deletions
diff --git a/misc/figlet/figlet.SlackBuild b/misc/figlet/figlet.SlackBuild
index 20612221be195..35acf1a0e52af 100644
--- a/misc/figlet/figlet.SlackBuild
+++ b/misc/figlet/figlet.SlackBuild
@@ -30,12 +30,10 @@ VERSION=${VERSION:-222}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -70,7 +68,7 @@ if [ "$ARCH" = "i486" ]; then
elif [ "$ARCH" = "i686" ]; then
sed -i 's#CFLAGS = -g#CFLAGS=-O2 -march=i686 -mtune=i686#g' Makefile
elif [ "$ARCH" = "x86_64" ]; then
- sed -i 's#CFLAGS = -g#CFLAGS=-O2 -fPIC#g' Makefile
+ sed -i 's#CFLAGS = -g#CFLAGS=-O2 -fPIC#g' Makefile
fi
make all
@@ -83,10 +81,8 @@ cp figlet.6 $PKG/usr/man/man6
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-)
+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 CHANGES LICENSE README FAQ $PKG/usr/doc/$PRGNAM-$VERSION
@@ -95,6 +91,5 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
-# Make the package
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/misc/figlet/figlet.info b/misc/figlet/figlet.info
index 0700702045317..058487a015e6c 100644
--- a/misc/figlet/figlet.info
+++ b/misc/figlet/figlet.info
@@ -1,10 +1,10 @@
PRGNAM="figlet"
VERSION="222"
HOMEPAGE="http://www.figlet.org"
-DOWNLOAD="ftp://ftp.figlet.org/pub/figlet/program/unix/figlet222.tar.gz"
-MD5SUM="5f84ad52d092d5db4ad5916df767646b"
+DOWNLOAD="http://source.dawoodfall.net/figlet222.tar.gz"
+MD5SUM="9fcf4f1651b8e6d3f56f1ef665285b2e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="David Woodfall"
-EMAIL="dave@unrealize.co.uk"
-APPROVED="dsomero"
+EMAIL="dave@dawoodfall.net"
+APPROVED="Niels Horn"
diff --git a/misc/figlet/slack-desc b/misc/figlet/slack-desc
index 6a931ee3f0b67..0d0a1031e2298 100644
--- a/misc/figlet/slack-desc
+++ b/misc/figlet/slack-desc
@@ -7,13 +7,13 @@
|-----handy-ruler------------------------------------------------------|
figlet: FIGlet (program for making large letters out of ordinary text)
-figlet:
+figlet:
figlet: Extra fonts are available on the the homepage.
figlet: There is also a figlet mailing list.
-figlet:
+figlet:
figlet: Homepage: http://www.figlet.org
-figlet:
-figlet:
-figlet:
-figlet:
-figlet:
+figlet:
+figlet:
+figlet:
+figlet:
+figlet: