diff options
author | Matt Hayes <dominian@slackadelic.com> | 2010-05-11 19:44:45 +0200 |
---|---|---|
committer | Michiel van Wessem <michiel@slackbuilds.org> | 2010-05-11 19:44:45 +0200 |
commit | d6112b2c74d573722d89a0d21b245234b158f7f0 (patch) | |
tree | 3b30dc44a1d8d301f5b0380c9fb672ae5113f166 /graphics/dia | |
parent | 40883c936ca5c670e45fcb43f78e51b6164ffd4b (diff) | |
download | slackbuilds-d6112b2c74d573722d89a0d21b245234b158f7f0.tar.gz |
graphics/dia: Updated for version 0.96
Diffstat (limited to 'graphics/dia')
-rw-r--r-- | graphics/dia/README | 2 | ||||
-rw-r--r-- | graphics/dia/dia.SlackBuild | 9 | ||||
-rw-r--r-- | graphics/dia/dia.info | 2 | ||||
-rw-r--r-- | graphics/dia/doinst.sh | 5 | ||||
-rw-r--r-- | graphics/dia/slack-desc | 8 |
5 files changed, 19 insertions, 7 deletions
diff --git a/graphics/dia/README b/graphics/dia/README index e87e1874e6..8de572ef7e 100644 --- a/graphics/dia/README +++ b/graphics/dia/README @@ -8,7 +8,5 @@ flowcharts, network diagrams, and many other diagrams. It is also possible to add support for new shapes by writing simple XML files, using a subset of SVG to draw the shape. -Homepage: http://www.gnome.org/projects/dia/ - note: Occasionally the mirror may be quite busy, this might lead to possible problems in downloading. 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 diff --git a/graphics/dia/dia.info b/graphics/dia/dia.info index 39386dea79..18dd9877fe 100644 --- a/graphics/dia/dia.info +++ b/graphics/dia/dia.info @@ -5,4 +5,4 @@ DOWNLOAD="ftp://ftp.gnome.org/pub/gnome/sources/dia/0.96/dia-0.96.tar.bz2" MD5SUM="0c173dd5f46672efb77952ecbd884bfd" MAINTAINER="Matt Hayes" EMAIL="dominian@slackadelic.com" -APPROVED="BP{k}" +APPROVED="BP{k},rworkman" diff --git a/graphics/dia/doinst.sh b/graphics/dia/doinst.sh new file mode 100644 index 0000000000..3412314ed0 --- /dev/null +++ b/graphics/dia/doinst.sh @@ -0,0 +1,5 @@ + +if [ -x usr/bin/update-desktop-database ]; then + ./usr/bin/update-desktop-database ./usr/share/applications >/dev/null 2>&1 +fi + diff --git a/graphics/dia/slack-desc b/graphics/dia/slack-desc index 98b2b45b15..15031e3619 100644 --- a/graphics/dia/slack-desc +++ b/graphics/dia/slack-desc @@ -1,3 +1,11 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| dia: Dia (diagram creation program) dia: dia: Dia is inspired by the commercial Windows program 'Visio', though |