[arch-commits] Commit in netbeans/repos/community-any (PKGBUILD PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Fri Oct 7 10:06:10 UTC 2016
Date: Friday, October 7, 2016 @ 10:06:08
Author: arodseth
Revision: 191545
archrelease: copy trunk to community-any
Added:
netbeans/repos/community-any/PKGBUILD
(from rev 191544, netbeans/trunk/PKGBUILD)
Deleted:
netbeans/repos/community-any/PKGBUILD
----------+
PKGBUILD | 111 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 56 insertions(+), 55 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-10-07 10:05:08 UTC (rev 191544)
+++ PKGBUILD 2016-10-07 10:06:08 UTC (rev 191545)
@@ -1,55 +0,0 @@
-# $Id$
-# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
-# Contributor: Timm Preetz <timm at preetz.us>
-# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
-# Contributor: Ben Wolsieffer <benwolsieffer at gmail.com>
-
-pkgname=netbeans
-pkgver=8.1
-_subver=201510222201
-pkgrel=3
-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=('b960957edca0bb14cacadf348ef92b5ac233eec73fa25dda72ef365bc5084ea9'
- '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 191544, netbeans/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-10-07 10:06:08 UTC (rev 191545)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Contributor: Timm Preetz <timm at preetz.us>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+# Contributor: Ben Wolsieffer <benwolsieffer at gmail.com>
+
+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:
More information about the arch-commits
mailing list