diff options
Diffstat (limited to 'graphics/pinta/pinta.SlackBuild')
-rw-r--r-- | graphics/pinta/pinta.SlackBuild | 12 |
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 |