updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / netbeans-ruby / PKGBUILD
blobcfab4dadb0411861633f6e34187a6089191e5450
1 # Maintainer: Leonardo Miliani <leonardo AT leonardomiliani DOT com>
3 pkgname=netbeans-ruby
4 pkgver=6.9.1
5 pkgrel=1
6 pkgdesc="Netbeans IDE development platform with Ruby support"
7 arch=('i686' 'x86_64')
8 url="http://www.netbeans.org"
9 license=('CDDL' 'GPL')
10 depends=('jre')
11 provides=('netbeans-ruby')
12 conflicts=('netbeans')
13 optdepends=("rake: to build ruby programs")
14 install=netbeans.install
15 source=(http://download.netbeans.org/netbeans/6.9.1/final/zip/netbeans-6.9.1-201007282301-ml-ruby.zip netbeans.sh netbeans.desktop)
16 md5sums=('4d72c3fd7be8c1517b0324a99abc9d38'
17                  'bce2535c11a71eb311da48b931563717'
18                  '6d93755de6081c11f7eb91b4fe29cbb3')
20 build() {
21         cd $startdir/src
22         mkdir -p $startdir/pkg/usr/share/netbeans || return 1
24         rm $startdir/src/netbeans/bin/netbeans.exe || return 1
26         cp -r $startdir/src/netbeans/* $startdir/pkg/usr/share/netbeans/ || return 1
28         install -D -m755 $startdir/src/netbeans.sh $startdir/pkg/etc/profile.d/netbeans.sh || return 1
29         install -D -m644 $startdir/src/netbeans.desktop $startdir/pkg/usr/share/applications/netbeans.desktop || return 1
30         
31         mkdir -p $startdir/pkg/usr/bin || return 1
32         ln -s /usr/share/netbeans/bin/netbeans $startdir/pkg/usr/bin/netbeans || return 1