graphics/pinta: Updated for version 0.6.

Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
This commit is contained in:
Binh Nguyen 2011-03-04 17:53:16 -03:00 committed by Niels Horn
parent 38be0a9c53
commit 93deb8fb3e
3 changed files with 7 additions and 24 deletions

View File

@ -1,11 +0,0 @@
--- ./Pinta/Pinta.csproj 2010-07-07 02:20:09.000000000 -0700
+++ ./Pinta/Pinta.csproj.clean 2010-07-07 02:20:59.000000000 -0700
@@ -214,8 +214,6 @@
<InstallPrefix>/usr/local</InstallPrefix>
</PropertyGroup>
<ItemGroup>
- <BinFiles Include="$(OutputPath)/Pinta.exe" />
- <BinFiles Include="$(OutputPath)/Pinta.*.dll" />
</ItemGroup>
<Target Name="Install">
<Copy SourceFiles="@(BinFiles)" DestinationFolder="$(InstallPrefix)/lib/pinta" />

View File

@ -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

View File

@ -1,10 +1,10 @@
PRGNAM="pinta"
VERSION="0.4"
VERSION="0.6"
HOMEPAGE="http://pinta-project.com/"
DOWNLOAD="http://github.com/downloads/jpobst/Pinta/pinta-0.4.tar.gz"
MD5SUM="29d9895e8d9ba7354d4991e077ab8f7d"
DOWNLOAD="http://cloud.github.com/downloads/jpobst/Pinta/pinta-0.6-1.tar.gz"
MD5SUM="51e834be0ef9ae52e3e8774631592d01"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Binh Nguyen"
EMAIL="binhnguyen@fastmail.fm"
APPROVED="rworkman"
APPROVED="rworkman,Niels Horn"