summaryrefslogtreecommitdiff
path: root/graphics/dia/dia.SlackBuild
diff options
context:
space:
mode:
authorMatt Hayes <dominian@slackadelic.com>2010-05-11 19:44:45 +0200
committerMichiel van Wessem <michiel@slackbuilds.org>2010-05-11 19:44:45 +0200
commitd6112b2c74d573722d89a0d21b245234b158f7f0 (patch)
tree3b30dc44a1d8d301f5b0380c9fb672ae5113f166 /graphics/dia/dia.SlackBuild
parent40883c936ca5c670e45fcb43f78e51b6164ffd4b (diff)
downloadslackbuilds-d6112b2c74d573722d89a0d21b245234b158f7f0.tar.gz
graphics/dia: Updated for version 0.96
Diffstat (limited to 'graphics/dia/dia.SlackBuild')
-rw-r--r--graphics/dia/dia.SlackBuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/graphics/dia/dia.SlackBuild b/graphics/dia/dia.SlackBuild
index c2d6d8b94d..ef6106ebcb 100644
--- a/graphics/dia/dia.SlackBuild
+++ b/graphics/dia/dia.SlackBuild
@@ -8,7 +8,7 @@ VERSION=0.96
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=`pwd`
+CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -45,17 +45,18 @@ make install DESTDIR=$PKG || exit 1
if [ -d $PKG/usr/man ]; then
( 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
+ for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
)
fi
if [ -d $PKG/usr/info ]; then
- gzip -9 $PKG/usr/info/*.info
+ gzip -9 $PKG/usr/info/*.info*
rm -rf $PKG/usr/info/dir
fi
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog KNOWN_BUGS MAINTAINERS NEWS README THANKS TODO $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING ChangeLog KNOWN_BUGS MAINTAINERS NEWS README THANKS TODO \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install