updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / netbeans-cpp-rc / PKGBUILD
blob4e47ca4071111b3320ddc816fa37666e899dd91e
1 # Maintainer: dunningd <duncansdunning at yahoo dot co dot uk>
2 # Adapted/copied from netbeans-cpp 6.9.1 (Thanks wimvdh)
3 pkgname=netbeans-cpp-rc
4 pkgver=7.0rc2
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 provides=('netbeans')
12 conflicts=('netbeans')
13 replaces=('netbeans-cpp-beta')
14 options=('!strip')
15 install=netbeans.install
16 source=(http://dlc.sun.com.edgesuite.net/netbeans/7.0/rc2/zip/netbeans-7.0rc2-201104070802-ml-cpp.zip netbeans.desktop)
17 md5sums=('4dc3a0b2a253768ae34645b5e2e61a35'
18          'eb9c35b558997f62a52bddad16dba248')
19 build() {
20   cd $srcdir
21   mkdir -p $pkgdir/usr/share/netbeans
23   rm $srcdir/netbeans/bin/netbeans.exe
25   cp -r $srcdir/netbeans/* $pkgdir/usr/share/netbeans/
27   install -D -m644 $srcdir/netbeans.desktop $pkgdir/usr/share/applications/netbeans.desktop
28   mkdir -p $pkgdir/usr/bin
29   ln -s /usr/share/netbeans/bin/netbeans $pkgdir/usr/bin/netbeans