Date: Wednesday, October 17, 2018 @ 04:09:44
Author: sangy
Revision: 394888
archrelease: copy trunk to community-any
Added:
netbeans/repos/community-any/PKGBUILD
(from rev 394887, netbeans/trunk/PKGBUILD)
netbeans/repos/community-any/netbeans.clusters
(from rev 394887, netbeans/trunk/netbeans.clusters)
Deleted:
netbeans/repos/community-any/PKGBUILD
---+
PKGBUILD | 117 +++-
netbeans.clusters | 44 +++
2 files changed, 105 insertions(+), 56 deletions(-)
Deleted: PKGBUILD
===
--- PKGBUILD2018-10-17 04:09:23 UTC (rev 394887)
+++ PKGBUILD2018-10-17 04:09:44 UTC (rev 394888)
@@ -1,56 +0,0 @@
-# $Id$
-# Maintainer: Alexander F Rødseth
-# Contributor: Timm Preetz
-# Contributor: Daniel J Griffiths
-# Contributor: Ben Wolsieffer
-
-pkgname=netbeans
-pkgver=8.2
-# Get the subver from https://netbeans.org/downloads/zip.html
-_subver=201609300101
-pkgrel=1
-pkgdesc='IDE for Java, HTML5, PHP, Groovy, C and C++'
-arch=('any')
-url='http://netbeans.org/'
-license=('CDDL')
-# classpath is not needed, see FS#38567 (Oracle JDK does not need atk either)
-depends=('java-environment' 'ttf-font' 'libxtst' 'giflib' 'atk')
-backup=('usr/share/netbeans/etc/netbeans.conf')
-makedepends=('gendesk' 'setconf')
-optdepends=('php: for developing programs in php'
-'groovy: for developing programs in groovy'
-'lib32-glibc')
-options=('!strip')
-# http://dlc-cdn.sun.com/netbeans/8.1/final/zip/
-source=("http://download.netbeans.org/netbeans/$pkgver/final/zip/netbeans-$pkgver-$_subver.zip;
-
'https://cdn.rawgit.com/ComFreek/chocolatey-packages/779f5c96f817ed1fa0d76fd90841873dc6c0ba74/icons/netbeans.png')
-sha256sums=('ad9888334b9a6c1f1138dcb2eccc8ce4921463e871e46def4ecc617538160948'
-'048112cc3be78f41bf6eca8f664f3e92e97fc68df904ce87a7e0156a18d80c7e')
-
-prepare() {
- gendesk -f -n --pkgname "$pkgname" --pkgdesc "$pkgdesc" \
---custom "StartupWMClass=NetBeans IDE $pkgver" --name "NetBeans" \
---exec 'netbeans %f' --startupnotify true
- setconf "$pkgname/bin/$pkgname" basedir "/usr/share/$pkgname"
-}
-
-package() {
- mkdir -p "$pkgdir/usr/"{bin,share/applications}
-
- # Binary file
- install -Dm755 "$pkgname/bin/$pkgname" "$pkgdir/usr/bin/$pkgname"
-
- # Resources
- cp -r "$pkgname" "$pkgdir/usr/share/"
-
- # Desktop shortcut and icon
- install -Dm644 "$pkgname.desktop" \
-"$pkgdir/usr/share/applications/$pkgname.desktop"
- install -Dm644 "$pkgname.png" "$pkgdir/usr/share/pixmaps/$pkgname.png"
-
- # Cleanup of directory that contains the binary file and .exe-files
- rm -r "$pkgdir/usr/share/$pkgname/bin"
-}
-
-# getver: netbeans.org
-# vim:set ts=2 sw=2 et:
Copied: netbeans/repos/community-any/PKGBUILD (from rev 394887,
netbeans/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2018-10-17 04:09:44 UTC (rev 394888)
@@ -0,0 +1,61 @@
+# Maintainer: Alexander F Rødseth
+# Contributor: Timm Preetz
+# Contributor: Daniel J Griffiths
+# Contributor: Ben Wolsieffer
+
+pkgname=netbeans
+pkgver=9.0
+pkgrel=1
+pkgdesc='IDE for Java, HTML5, PHP, Groovy, C and C++'
+arch=('any')
+url='http://netbeans.apache.org/'
+license=('Apache2')
+# classpath is not needed, see FS#38567 (Oracle JDK does not need atk either)
+depends=('java-environment' 'ttf-font' 'jdk10-openjdk')
+makedepends=('ant' 'java-environment' 'jdk8-openjdk')
+optdepends=('php: for developing programs in php'
+'groovy: for developing programs in groovy'
+'lib32-glibc')
+source=("https://www.apache.org/dist/incubator/netbeans/incubating-netbeans-java/incubating-9.0/incubating-${pkgname}-java-${pkgver}-source.zip"{,.asc}
+ "netbeans.clusters")
+
+sha256sums=('cc4cdaf3e1a6c80227410a6e54414e2109516d11a7150b7b9660061135bbc8db'
+'SKIP'
+'a7849ee0f21acef34a7bbd1216e8f822aba38284e3138ea04532224ad6f227c2')
+validpgpkeys=("1A83C352499305B6682E3D95CF7BA0AB1CCF4647")
+
+build() {
+ # full cluster configuration is not available at this time
+ #ant -quiet -Dcluster.config=full
+ export JAVA_HOME=/usr/lib/jvm/java-8-openjdk/
+ ant -quiet -Dnbjdk.home=/usr/lib/jvm/java-8-openjdk
-Djava.home=/usr/lib/jvm/java-8-openjdk
+}
+
+check() {
+ cd "${srcdir}"
+ ant -quiet test -Djavac.compilerargs=-nowarn
-Dbuild.compiler.deprecation=false -Dtest.includes=NoTestsJustBuild
+}
+
+package() {
+
+ # load script
+ install -Dm755 "nbbuild/${pkgname}/bin/${pkgname}" "$pkgdir/usr/bin/$pkgname"
+
+ # Resources for platform config
+ mkdir -vp "${pkgdir}/usr/lib/${pkgname}"
+ cp -r
"nbbuild/${pkgname}/"{java,harness,javafx,profiler,nb,ide,extide,apisupport,websvccommon,platform}
"$pkgdir/usr/lib/${pkgname}"
+
+ # copy cluster configuration
+ install -Dm644 "${srcdir}/nbbuild/netbeans/etc/netbeans."*