updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / netbeans-cpp / PKGBUILD
blob95efc095f1a34109d0c4c57f782510472bd189a6
1 # Original contributor: Alexandre P. <petitjeanalex@yahoo.fr>
2 # Contributor: wimvdh <wimvdh-removethispieceoftext- AT telenet . be>
3 pkgname=netbeans-cpp
4 pkgver=6.9.1
5 pkgrel=1
6 pkgdesc="Netbeans IDE development platform - C/C++ only"
7 arch=('i686' 'x86_64')
8 url="http://www.netbeans.org"
9 license=('CDDL')
10 depends=('java-runtime')
11 conflicts=('netbeans')
12 install=netbeans.install
13 source=(http://download.netbeans.org/netbeans/6.9.1/final/zip/netbeans-6.9.1-201007282301-ml-cpp.zip netbeans.desktop)
15 md5sums=('41eb5ead75654469d5e3d570d7155a8f'
16          'eb9c35b558997f62a52bddad16dba248')
18 build() {
19   cd $startdir/src
20   mkdir -p $startdir/pkg/usr/share/netbeans
22   rm $startdir/src/netbeans/bin/netbeans.exe
24   cp -r $startdir/src/netbeans/* $startdir/pkg/usr/share/netbeans/
26   install -D -m644 $startdir/src/netbeans.desktop $startdir/pkg/usr/share/applications/netbeans.desktop
27   mkdir -p $startdir/pkg/usr/bin
28   ln -s /usr/share/netbeans/bin/netbeans $startdir/pkg/usr/bin/netbeans