updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / netbeans-c++ / PKGBUILD
blobdbb1c0539a0d2f7ae82fbb8c2976667abaf4dc46
1 pkgname=netbeans-c++
2 pkgver=6.8
3 pkgrel=1
4 pkgdesc="Netbeans IDE - C/C++ version"
5 arch=('i686' 'x86_64')
6 url="http://www.netbeans.org"
7 license=('CDDL')
8 depends=('java-environment')
9 conflicts=('netbeans')
10 install=netbeans.install
11 source=('http://ftp.snt.utwente.nl/pub/software/netbeans/6.8/zip/netbeans-6.8-200912041610-ml-cpp.zip' 'netbeans.desktop')
12 md5sums=('4873cd501a717d0f0c60fb336b7dabc2'
13          '3c1b72a094140b1e21fcfe26ca8a50e8')
15 build() {
16   cd $startdir/src
17   mkdir -p $startdir/pkg/usr/share/netbeans
19   rm $startdir/src/netbeans/bin/netbeans.exe
21   cp -r $startdir/src/netbeans/* $startdir/pkg/usr/share/netbeans/
23   install -D -m644 $startdir/src/netbeans.desktop $startdir/pkg/usr/share/applications/netbeans.desktop
24   mkdir -p $startdir/pkg/usr/bin
25   ln -s /usr/share/netbeans/bin/netbeans $startdir/pkg/usr/bin/netbeans