summaryrefslogtreecommitdiffstats
path: root/graphics/inkscape/inkscape.SlackBuild
diff options
context:
space:
mode:
author Robby Workman2010-05-11 19:44:51 +0200
committer Michiel van Wessem2010-05-11 19:44:51 +0200
commit23abafe6e5d6da0d49894219c37e2ee0eaf2a3f5 (patch)
treec119c1badcc8e64c32f91c18eb8c689534e89dd9 /graphics/inkscape/inkscape.SlackBuild
parent982ece239257814c2a06575dc23184eb85bca491 (diff)
downloadslackbuilds-23abafe6e5d6da0d49894219c37e2ee0eaf2a3f5.tar.gz
graphics/inkscape: Updated for version 0.45.1
Diffstat (limited to 'graphics/inkscape/inkscape.SlackBuild')
-rw-r--r--graphics/inkscape/inkscape.SlackBuild14
1 files changed, 4 insertions, 10 deletions
diff --git a/graphics/inkscape/inkscape.SlackBuild b/graphics/inkscape/inkscape.SlackBuild
index 2fa508da90..4fe5a7a3aa 100644
--- a/graphics/inkscape/inkscape.SlackBuild
+++ b/graphics/inkscape/inkscape.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for inkscape
-# Copyright 2006 Robby Workman (http://rlworkman.net)
+# Copyright 2006-2007 Robby Workman (http://rlworkman.net)
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,14 +22,12 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Modified by the SlackBuilds.org project
-
PRGNAM=inkscape
-VERSION=0.45
+VERSION=0.45.1
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=`pwd`
+CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -62,13 +60,9 @@ CXXFLAGS="$SLKCFLAGS" \
make || exit 1
make install-strip DESTDIR=$PKG || exit 1
-# Fix icon path in .desktop file
-sed -i 's%Icon=inkscape.png%Icon=/usr/share/pixmaps/inkscape.png%g' \
- $PKG/usr/share/applications/inkscape.desktop || exit 1
-
( 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
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION