blob: 5dc473aba6a48bcf05307ff918371cfd1a635056 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# $Id: PKGBUILD 80996 2012-12-08 22:47:00Z arodseth $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
pkgname=processing
pkgver=2.0b7
pkgrel=1
pkgdesc='Programming language and environment for creating images, animation, and interactions'
arch=('x86_64' 'i686')
url='http://www.processing.org/'
license=('GPL' 'LGPL')
depends=('libgl' 'libxxf86vm')
makedepends=('gendesk')
options=(!strip)
#if [[ $CARCH == 'x86_64' ]]; then
# optdepends=('lib32-libxtst: resource extension library')
# source=("http://$pkgname.googlecode.com/files/$pkgname-$pkgver-linux64.tgz"
# "$pkgname.png::http://wiki.$pkgname.org/skins/${pkgname}skin/${pkgname}_wiki_logo.png")
# sha256sums=('844b4280b242176107f6c40fef47fa420695111cdb2b80294570297f63b1186f'
# '019ae700333409acbc628779747ab8f153f6647de25e4de3a9bd4a42d0d8056a')
#else
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')
#fi
build() {
cd "$srcdir"
gendesk
}
package() {
cd "$srcdir/$pkgname-$pkgver"
install -d "$pkgdir/usr/share/$pkgname/" "$pkgdir/usr/bin/"
cp -r ./* "$pkgdir/usr/share/$pkgname/"
chmod a+x "$pkgdir/usr/share/$pkgname/$pkgname"
ln -s /usr/share/$pkgname/$pkgname "$pkgdir/usr/bin/$pkgname"
install -Dm644 "$srcdir/$pkgname.png" \
"$pkgdir/usr/share/pixmaps/$pkgname.png"
install -Dm644 "$srcdir/$pkgname.desktop" \
"$pkgdir/usr/share/applications/$pkgname.desktop"
}
# vim:set ts=2 sw=2 et:
|