summaryrefslogtreecommitdiff
path: root/community/processing
diff options
context:
space:
mode:
Diffstat (limited to 'community/processing')
-rw-r--r--community/processing/PKGBUILD21
1 files changed, 14 insertions, 7 deletions
diff --git a/community/processing/PKGBUILD b/community/processing/PKGBUILD
index 2549f2832..940517a8a 100644
--- a/community/processing/PKGBUILD
+++ b/community/processing/PKGBUILD
@@ -1,20 +1,27 @@
-# $Id: PKGBUILD 82430 2013-01-17 14:54:20Z arodseth $
+# $Id: PKGBUILD 82915 2013-01-25 17:38:23Z arodseth $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
pkgname=processing
pkgver=2.0b7
-pkgrel=2
+pkgrel=3
pkgdesc='Programming language and environment for creating images, animations and interactions'
arch=('x86_64' 'i686')
url='http://www.processing.org/'
license=('GPL' 'LGPL')
-depends=('libgl' 'libxxf86vm')
+depends=('libgl' 'sh' 'libxxf86vm')
makedepends=('gendesk')
options=(!strip)
-source=("http://$pkgname.googlecode.com/files/$pkgname-$pkgver-linux32.tgz"
- "$pkgname.png::http://wiki.$pkgname.org/skins/${pkgname}skin/${pkgname}_wiki_logo.png")
-sha256sums=('55db8370672f9e2658443a7fe577e23f06ca1ab2435719c865a059a0e65cdc83'
- '019ae700333409acbc628779747ab8f153f6647de25e4de3a9bd4a42d0d8056a')
+
+_bits=64
+sha256sums=('844b4280b242176107f6c40fef47fa420695111cdb2b80294570297f63b1186f')
+if [[ "$CARCH" != "x86_64" ]]; then
+ _bits=32
+ sha256sums=('55db8370672f9e2658443a7fe577e23f06ca1ab2435719c865a059a0e65cdc83')
+fi
+source=("http://$pkgname.googlecode.com/files/$pkgname-$pkgver-linux$_bits.tgz")
+
+source+=("$pkgname.png::http://wiki.$pkgname.org/skins/${pkgname}skin/${pkgname}_wiki_logo.png")
+sha256sums+=('019ae700333409acbc628779747ab8f153f6647de25e4de3a9bd4a42d0d8056a')
build() {
cd "$srcdir"