summaryrefslogtreecommitdiff
path: root/graphics/pinta/pinta.SlackBuild
diff options
context:
space:
mode:
authorBinh Nguyen <binhnguyen@fastmail.fm>2011-03-04 17:53:16 -0300
committerNiels Horn <niels.horn@slackbuilds.org>2011-03-04 17:53:16 -0300
commit93deb8fb3e4278adc064b415d82e949472ba1498 (patch)
treea7a6a487af2f8516a8110859ff3750c1011dbe25 /graphics/pinta/pinta.SlackBuild
parent38be0a9c53648508908a38f9263ccaa2529ce0f5 (diff)
downloadslackbuilds-93deb8fb3e4278adc064b415d82e949472ba1498.tar.gz
graphics/pinta: Updated for version 0.6.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'graphics/pinta/pinta.SlackBuild')
-rw-r--r--graphics/pinta/pinta.SlackBuild12
1 files changed, 3 insertions, 9 deletions
diff --git a/graphics/pinta/pinta.SlackBuild b/graphics/pinta/pinta.SlackBuild
index 64e7055ab7..58cbc0ace5 100644
--- a/graphics/pinta/pinta.SlackBuild
+++ b/graphics/pinta/pinta.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright 2010 Binh Nguyen <binhnguyen@fastmail.fm>
+# Copyright 2010-2011 Binh Nguyen <binhnguyen@fastmail.fm>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,7 +21,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=pinta
-VERSION=${VERSION:-0.4}
+VERSION=${VERSION:-0.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -58,7 +58,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION-1.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
@@ -68,9 +68,6 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# Apply a patch from AUR
-patch -p0 < $CWD/Pinta.csproj.patch
-
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
@@ -85,9 +82,6 @@ CFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-mkdir -p $PKG/usr/lib/$PRGNAM
-cp ./bin/*.* $PKG/usr/lib/$PRGNAM
-
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true