summaryrefslogtreecommitdiffstats
path: root/graphics/pinta/pinta.SlackBuild
diff options
context:
space:
mode:
author Binh Nguyen <binhnguyen@fastmail.fm>2011-07-02 00:17:45 -0300
committer Niels Horn <niels.horn@slackbuilds.org>2011-07-02 00:17:45 -0300
commitfb7acd7db7e33c9d29f05cbe7ea8baf3b76f0e14 (patch)
treea4cd79d0f58ee302085b7946e37e02f10cc2f39e /graphics/pinta/pinta.SlackBuild
parentcd403af3060a3791e960c54422832ffd8133ba34 (diff)
downloadslackbuilds-fb7acd7db7e33c9d29f05cbe7ea8baf3b76f0e14.tar.gz
slackbuilds-fb7acd7db7e33c9d29f05cbe7ea8baf3b76f0e14.tar.xz
graphics/pinta: Updated for version 1.0.
Diffstat (limited to 'graphics/pinta/pinta.SlackBuild')
-rw-r--r--graphics/pinta/pinta.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/graphics/pinta/pinta.SlackBuild b/graphics/pinta/pinta.SlackBuild
index 58cbc0ace5..0462f241e0 100644
--- a/graphics/pinta/pinta.SlackBuild
+++ b/graphics/pinta/pinta.SlackBuild
@@ -1,5 +1,7 @@
#!/bin/sh
+# Slackware build script for pinta
+
# Copyright 2010-2011 Binh Nguyen <binhnguyen@fastmail.fm>
# All rights reserved.
#
@@ -21,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=pinta
-VERSION=${VERSION:-0.6}
+VERSION=${VERSION:-1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -58,7 +60,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION-1.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
@@ -85,7 +87,6 @@ make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-mv $PKG/usr/share/man $PKG/usr
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