Date: Monday, May 23, 2016 @ 21:27:52 Author: arodseth Revision: 176160
archrelease: copy trunk to community-any Added: netbeans/repos/community-any/PKGBUILD (from rev 176159, netbeans/trunk/PKGBUILD) Deleted: netbeans/repos/community-any/PKGBUILD netbeans/repos/community-any/netbeans.install ------------------+ PKGBUILD | 111 ++++++++++++++++++++++++++--------------------------- netbeans.install | 13 ------ 2 files changed, 55 insertions(+), 69 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2016-05-23 19:27:41 UTC (rev 176159) +++ PKGBUILD 2016-05-23 19:27:52 UTC (rev 176160) @@ -1,56 +0,0 @@ -# $Id$ -# Maintainer: Alexander F Rødseth <xypr...@archlinux.org> -# Contributor: Timm Preetz <t...@preetz.us> -# Contributor: Daniel J Griffiths <ghost1...@archlinux.us> -# Contributor: Ben Wolsieffer <benwolsief...@gmail.com> - -pkgname=netbeans -pkgver=8.1 -_subver=201510222201 -pkgrel=2 -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-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 176159, netbeans/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2016-05-23 19:27:52 UTC (rev 176160) @@ -0,0 +1,55 @@ +# $Id$ +# Maintainer: Alexander F Rødseth <xypr...@archlinux.org> +# Contributor: Timm Preetz <t...@preetz.us> +# Contributor: Daniel J Griffiths <ghost1...@archlinux.us> +# Contributor: Ben Wolsieffer <benwolsief...@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: Deleted: netbeans.install =================================================================== --- netbeans.install 2016-05-23 19:27:41 UTC (rev 176159) +++ netbeans.install 2016-05-23 19:27:52 UTC (rev 176160) @@ -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: