PKGBUILDs/community/netbeans/PKGBUILD
2009-10-09 21:15:33 -05:00

28 lines
958 B
Bash

# $Id: PKGBUILD 1372 2009-08-18 17:25:34Z ibiru $
# Maintainer: Timm Preetz <timm@preetz.us>
pkgname=netbeans
pkgver=6.7.1
pkgrel=1
pkgdesc="Netbeans IDE development platform"
url="http://www.netbeans.org"
arch=('i686' 'x86_64')
license=('CDDL')
depends=('java-environment')
optdepends=('php: for delevoping programs in php'
'ruby: for developing programs in the ruby language')
install=netbeans.install
source=(http://download.netbeans.org/netbeans/6.7.1/final/zip/netbeans-6.7.1-200907230233-ml.zip netbeans.desktop)
md5sums=('b933d91549042c280e96e1c602ccae31'
'd15ef85b28007a471de6a8afa4d6e45e')
build() {
cd $srcdir
mkdir -p $pkgdir/usr/share/$pkgname
rm $srcdir/$pkgname/bin/netbeans.exe
cp -r $srcdir/$pkgname/* $pkgdir/usr/share/$pkgname/
install -D -m644 $srcdir/netbeans.desktop $pkgdir/usr/share/applications/netbeans.desktop
mkdir -p $pkgdir/usr/bin
ln -s /usr/share/netbeans/bin/netbeans $pkgdir/usr/bin/netbeans
}