summaryrefslogtreecommitdiff
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
parent38be0a9c53648508908a38f9263ccaa2529ce0f5 (diff)
downloadslackbuilds-93deb8fb3e4278adc064b415d82e949472ba1498.tar.gz
graphics/pinta: Updated for version 0.6.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
-rw-r--r--graphics/pinta/Pinta.csproj.patch11
-rw-r--r--graphics/pinta/pinta.SlackBuild12
-rw-r--r--graphics/pinta/pinta.info8
3 files changed, 7 insertions, 24 deletions
diff --git a/graphics/pinta/Pinta.csproj.patch b/graphics/pinta/Pinta.csproj.patch
deleted file mode 100644
index e4d74ddd3d..0000000000
--- a/graphics/pinta/Pinta.csproj.patch
+++ /dev/null
@@ -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" />
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
diff --git a/graphics/pinta/pinta.info b/graphics/pinta/pinta.info
index b7ba55c1be..2264e6d04b 100644
--- a/graphics/pinta/pinta.info
+++ b/graphics/pinta/pinta.info
@@ -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"