aboutsummaryrefslogtreecommitdiff
path: root/graphics/inkscape/inkscape.SlackBuild
diff options
context:
space:
mode:
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 2fa508da9004..4fe5a7a3aa92 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