1 # Mantainer : SÅ‚awomir Kowalski <suawekk@gmail.com>
2 # This PKGBUILD is based on AUR package : netbeans-de
7 pkgdesc='Netbeans IDE development platform. Multilanguage version'
9 url='http://www.netbeans.org'
12 conflicts=('netbeans')
13 depends=('java-environment')
14 optdepends=('php: for developing programs in PHP'
15 'python: for developing programs in Python'
16 'ruby: for developing programs in Ruby')
17 install='netbeans.install'
19 source=('http://bits.netbeans.org/7.0.1/community/latest/zip/netbeans-7.0.1-201111061500-ml.zip'
21 md5sums=('11f1f4f76e15a2cc19e64f7a12b6279a'
22 '100bab2f685f3613bdee7f90dd07f014')
25 # cleanup OS specific files
26 rm $(find -name '*\.exe' -or -name '*\.bat')
27 rm -r $(find -name 'MacOSX*' -or -name 'Windows*' -or -name 'SunOS*')
28 rm -r $(find -name 'hpux*' -or -name 'mac*' -or -name 'solaris*' -or -name 'windows*')
32 install -d ${pkgdir}/usr/share
33 cp -r netbeans ${pkgdir}/usr/share
35 install -d ${pkgdir}/usr/share/applications
36 install -m644 netbeans.desktop \
37 ${pkgdir}/usr/share/applications
39 install -d ${pkgdir}/usr/bin
40 ln -s /usr/share/netbeans/bin/netbeans ${pkgdir}/usr/bin/netbeans