desktop/netbeans/PKGBUILD

36 lines
1.1 KiB
Bash

#
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# contributor Fabio Lima <fheday at dcc [dot] fc [dot] up [dot] pt>
pkgname=netbeans
pkgver=7.0
pkgrel=1
pkgdesc='Netbeans IDE development platform.'
arch=('any')
url='http://www.netbeans.org'
license=('CDDL')
depends=('java-environment>=6')
optdepends=('php: for developing programs in php'
'ruby: for developing programs in ruby'
'python: for developing programs in python')
install=netbeans.install
source=('http://download.netbeans.org/netbeans/7.0/final/zip/netbeans-7.0-201104080000-ml.zip'
'netbeans.desktop')
md5sums=('23a0690886085abf31fb3cae84d797c0'
'88c631d0d263218e01ea886fde2bc913')
package() {
rm ${pkgname}/bin/netbeans.exe
install -d ${pkgdir}/usr/share/${pkgname}
cp -r ${pkgname}/* ${pkgdir}/usr/share/${pkgname}/
install -D -m644 netbeans.desktop ${pkgdir}/usr/share/applications/netbeans.desktop
install -d ${pkgdir}/usr/bin
ln -s /usr/share/netbeans/bin/netbeans ${pkgdir}/usr/bin/netbeans
}