diff --git a/misc/figlet/figlet.SlackBuild b/misc/figlet/figlet.SlackBuild index 20612221be..35acf1a0e5 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 0700702045..058487a015 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 6a931ee3f0..0d0a1031e2 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: