diff options
author | Michael Mair-Keimberger <m.mairkeimberger@gmail.com> | 2018-06-07 21:50:56 +0200 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2018-06-07 21:34:25 +0100 |
commit | 34aaab74cca6f902259ecd6ccda6c364a5ebcdec (patch) | |
tree | 8882fb1d8e3953d66521340f2074805c24d1ffae /dev-util/visualvm | |
parent | dev-python/oslo-versionedobjects: 1.31.3 stable amd64 and x86 with cleanup (diff) | |
download | gentoo-34aaab74cca6f902259ecd6ccda6c364a5ebcdec.tar.gz gentoo-34aaab74cca6f902259ecd6ccda6c364a5ebcdec.tar.bz2 gentoo-34aaab74cca6f902259ecd6ccda6c364a5ebcdec.zip |
dev-util/visualvm: fix header and leading spaces
Closes: https://github.com/gentoo/gentoo/pull/8746
Diffstat (limited to 'dev-util/visualvm')
-rw-r--r-- | dev-util/visualvm/visualvm-1.4.1.ebuild | 41 |
1 files changed, 21 insertions, 20 deletions
diff --git a/dev-util/visualvm/visualvm-1.4.1.ebuild b/dev-util/visualvm/visualvm-1.4.1.ebuild index b29eb860b654..a33b5289f774 100644 --- a/dev-util/visualvm/visualvm-1.4.1.ebuild +++ b/dev-util/visualvm/visualvm-1.4.1.ebuild @@ -1,3 +1,4 @@ +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -32,34 +33,34 @@ EANT_BUILD_TARGET=build INSTALL_DIR=/usr/share/${PN} src_unpack() { - unpack ${P}.tar.gz - cd "${S}" || die - # unpack ${NBZ} - unpack ${S}/${NBZ} # archive is included in the main archive + unpack ${P}.tar.gz + cd "${S}" || die + # unpack ${NBZ} + unpack "${S}"/"${NBZ}" # archive is included in the main archive } src_prepare() { - default + default - # Remove unneeded binaries - rm -rv netbeans/platform/lib/*.{dll,exe} \ - netbeans/platform/modules/lib/{amd64/*.dll,i386,x86} || die - find netbeans/profiler/lib/deployed/jdk1? -mindepth 1 \ - -maxdepth 1 ! -name linux-amd64 -exec rm -rv {} + || die + # Remove unneeded binaries + rm -rv netbeans/platform/lib/*.{dll,exe} \ + netbeans/platform/modules/lib/{amd64/*.dll,i386,x86} || die + find netbeans/profiler/lib/deployed/jdk1? -mindepth 1 \ + -maxdepth 1 ! -name linux-amd64 -exec rm -rv {} + || die } src_install() { - # this is the visualvm cluster - insinto ${INSTALL_DIR} - doins -r build/cluster netbeans/{platform,profiler} + # this is the visualvm cluster + insinto ${INSTALL_DIR} + doins -r build/cluster netbeans/{platform,profiler} - # configuration file that can be used to tweak visualvm startup parameters - insinto /etc/${PN} - newins "${FILESDIR}"/${PN}-r1.conf ${PN}.conf + # configuration file that can be used to tweak visualvm startup parameters + insinto /etc/${PN} + newins "${FILESDIR}"/${PN}-r1.conf ${PN}.conf - # visualvm runtime script - newbin "${FILESDIR}"/${PN}-r1.sh ${PN} + # visualvm runtime script + newbin "${FILESDIR}"/${PN}-r1.sh ${PN} - # makes visualvm entry - make_desktop_entry ${PN} VisualVM java "Development;Java;" + # makes visualvm entry + make_desktop_entry ${PN} VisualVM java "Development;Java;" } |