Date: Thursday, September 18, 2014 @ 16:33:43 Author: arodseth Revision: 119195
archrelease: copy trunk to community-any Added: netbeans/repos/community-any/PKGBUILD (from rev 119194, netbeans/trunk/PKGBUILD) netbeans/repos/community-any/netbeans.install (from rev 119194, netbeans/trunk/netbeans.install) Deleted: netbeans/repos/community-any/PKGBUILD netbeans/repos/community-any/netbeans.install ------------------+ PKGBUILD | 99 ++++++++++++++++++++++++++++------------------------- netbeans.install | 26 ++++++------- 2 files changed, 66 insertions(+), 59 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2014-09-18 14:33:32 UTC (rev 119194) +++ PKGBUILD 2014-09-18 14:33:43 UTC (rev 119195) @@ -1,46 +0,0 @@ -# $Id$ -# Maintainer: Alexander Rødseth <rods...@gmail.com> -# Contributor: Timm Preetz <t...@preetz.us> -# Contributor: Daniel J Griffiths <ghost1...@archlinux.us> - -pkgname=netbeans -pkgver=8.0 -_subpkgver=201403101706 -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') -install='netbeans.install' -options=('!strip') -source=("http://dlc.sun.com.edgesuite.net/$pkgname/$pkgver/final/zip/$pkgname-$pkgver-$_subpkgver.zip") -# http://dlc.sun.com.edgesuite.net/netbeans/8.0/final/zip/ -sha256sums=('0d063507f48292f4033a238783fb318a6df58485a7be86206a45a97ce12de97b') - -prepare() { - gendesk -f -n --pkgname "$pkgname" --pkgdesc "$pkgdesc" - setconf "$pkgname/bin/$pkgname" basedir "/usr/share/$pkgname" - setconf -a "$pkgname/etc/$pkgname.conf" netbeans_jdkhome '"/usr/lib/jvm/default"' -} - -package() { - mkdir -p "$pkgdir/usr/"{bin,share/applications} - cp -r "$pkgname" "$pkgdir/usr/share/" - install -Dm644 "$pkgname.desktop" \ - "$pkgdir/usr/share/applications/$pkgname.desktop" - cd "$pkgname" - install -Dm644 "nb/$pkgname.png" "$pkgdir/usr/share/pixmaps/$pkgname.png" - install -Dm755 "bin/$pkgname" "$pkgdir/usr/bin/$pkgname" - - # Cleanup (contains the file that is now placed in /usr/bin + .exe-files) - rm -r "$pkgdir/usr/share/$pkgname/bin" -} - -# vim:set ts=2 sw=2 et: Copied: netbeans/repos/community-any/PKGBUILD (from rev 119194, netbeans/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2014-09-18 14:33:43 UTC (rev 119195) @@ -0,0 +1,53 @@ +# $Id$ +# Maintainer: Alexander Rødseth <rods...@gmail.com> +# Contributor: Timm Preetz <t...@preetz.us> +# Contributor: Daniel J Griffiths <ghost1...@archlinux.us> + +pkgname=netbeans +pkgver=8.0.1 +_subver=201408251540 +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') +install='netbeans.install' +options=('!strip') +# http://dlc.sun.com.edgesuite.net/netbeans/8.0/final/zip/ +source=("http://dlc.sun.com.edgesuite.net/$pkgname/$pkgver/final/zip/$pkgname-$pkgver-$_subver.zip" + 'http://www.jimvernon.com/wp-content/uploads/2014/02/netbeans.png') +sha256sums=('5c572e18ff610d7d78044c7602bfaa97d0faaeb6ba3f4fbe1427cadb12285e5e' + '1d519f018ebeff6e29436c8492dbb266446bd0144fb5519b2ef6637664de6f4a') + +prepare() { + gendesk -f -n --pkgname "$pkgname" --pkgdesc "$pkgdesc" + setconf "$pkgname/bin/$pkgname" basedir "/usr/share/$pkgname" + setconf -a "$pkgname/etc/$pkgname.conf" netbeans_jdkhome '"/usr/lib/jvm/default"' +} + +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" +} + +# vim:set ts=2 sw=2 et: Deleted: netbeans.install =================================================================== --- netbeans.install 2014-09-18 14:33:32 UTC (rev 119194) +++ netbeans.install 2014-09-18 14:33:43 UTC (rev 119195) @@ -1,13 +0,0 @@ -post_upgrade() { - update-desktop-database >/dev/null 2>&1 -} - -post_install() { - post_upgrade -} - -post_remove() { - post_upgrade -} - -# vim:set ts=2 sw=2 et: Copied: netbeans/repos/community-any/netbeans.install (from rev 119194, netbeans/trunk/netbeans.install) =================================================================== --- netbeans.install (rev 0) +++ netbeans.install 2014-09-18 14:33:43 UTC (rev 119195) @@ -0,0 +1,13 @@ +post_upgrade() { + update-desktop-database >/dev/null 2>&1 +} + +post_install() { + post_upgrade +} + +post_remove() { + post_upgrade +} + +# vim:set ts=2 sw=2 et: