1 # Maintainer: Leonardo Miliani <leonardo AT leonardomiliani DOT com>
6 pkgdesc="Netbeans IDE development platform with Ruby support"
8 url="http://www.netbeans.org"
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')
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
31 mkdir -p $startdir/pkg/usr/bin || return 1
32 ln -s /usr/share/netbeans/bin/netbeans $startdir/pkg/usr/bin/netbeans || return 1