[arch-commits] Commit in processing/trunk (PKGBUILD)

Alexander Rødseth arodseth at nymeria.archlinux.org
Fri Jan 25 17:38:07 UTC 2013


    Date: Friday, January 25, 2013 @ 18:38:07
  Author: arodseth
Revision: 82914

upgpkg: processing 2.0b7-3

Modified:
  processing/trunk/PKGBUILD

----------+
 PKGBUILD |   19 +++++++++++++------
 1 file changed, 13 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-01-25 17:29:35 UTC (rev 82913)
+++ PKGBUILD	2013-01-25 17:38:07 UTC (rev 82914)
@@ -3,19 +3,26 @@
 
 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"
     gendesk




More information about the arch-commits mailing list