diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2017-10-30 18:42:16 +0100 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2017-10-30 18:42:16 +0100 |
commit | b1445e00fcc38b8f867035b0fd7593bcf2811c3e (patch) | |
tree | 6183d02008d5f101ae1b4bcf5722953561dc5ebd | |
parent | dev-util/meson: stabilize 0.43.0 (diff) | |
download | gentoo-b1445e00fcc38b8f867035b0fd7593bcf2811c3e.tar.gz gentoo-b1445e00fcc38b8f867035b0fd7593bcf2811c3e.tar.bz2 gentoo-b1445e00fcc38b8f867035b0fd7593bcf2811c3e.zip |
dev-util/gogland: Initial version
Package-Manager: Portage-2.3.12, Repoman-2.3.4
-rw-r--r-- | dev-util/gogland/Manifest | 1 | ||||
-rw-r--r-- | dev-util/gogland/gogland-173.3415.23.ebuild | 45 | ||||
-rw-r--r-- | dev-util/gogland/metadata.xml | 8 |
3 files changed, 54 insertions, 0 deletions
diff --git a/dev-util/gogland/Manifest b/dev-util/gogland/Manifest new file mode 100644 index 000000000000..3868eab77e05 --- /dev/null +++ b/dev-util/gogland/Manifest @@ -0,0 +1 @@ +DIST gogland-173.3415.23.tar.gz 209703562 SHA256 31a13e26729d5288d200f24e295d5009b3260a8b4fe42bfce25c192c8d579127 SHA512 7cfcf07bef5115cecff9913551ec4af8cd493a341e30cb818223b5c36345c5816bba118f53f5ad652dc78533b336530ca98dba9f34e81a322c94a332d49f4524 WHIRLPOOL bd7386ead98ae11f19556a80b7ab564b45037a4b5aedb8171d46e200a78677ae955c0dda12f67509c9f3471fa99619428430bb1ca478e23c0c9724478299115d diff --git a/dev-util/gogland/gogland-173.3415.23.ebuild b/dev-util/gogland/gogland-173.3415.23.ebuild new file mode 100644 index 000000000000..14e1973f45cd --- /dev/null +++ b/dev-util/gogland/gogland-173.3415.23.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils + +SLOT=0 + +SRC_URI="http://download.jetbrains.com/go/${P}.tar.gz" +DESCRIPTION="Golang IDE by JetBrains" +HOMEPAGE="http://www.jetbrains.com/go" + +KEYWORDS="~amd64" +LICENSE="IDEA + || ( IDEA_Academic IDEA_Classroom IDEA_OpenSource IDEA_Personal )" + +QA_PREBUILT="opt/${P}/*" + +S=${WORKDIR}/Gogland-${PV} + +RDEPEND="dev-lang/go" + +src_prepare() { + default + if ! use arm; then + rm -rf bin/fsnotifier-arm || die + fi +} + +src_install() { + local dir="/opt/${P}" + + insinto "${dir}" + doins -r * + fperms 755 "${dir}"/bin/{${PN}.sh,fsnotifier{,64}} + + make_wrapper "${PN}" "${dir}/bin/${PN}.sh" + newicon "bin/${PN}.png" "${PN}.png" + make_desktop_entry "${PN}" "gogland" "${PN}" "Development;IDE;" + + # recommended by: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit + mkdir -p "${D}/etc/sysctl.d/" || die + echo "fs.inotify.max_user_watches = 524288" > "${D}/etc/sysctl.d/30-idea-inotify-watches.conf" || die +} diff --git a/dev-util/gogland/metadata.xml b/dev-util/gogland/metadata.xml new file mode 100644 index 000000000000..97df2a00971b --- /dev/null +++ b/dev-util/gogland/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>mrueg@gentoo.org</email> + <name>Manuel Rüger</name> + </maintainer> +</pkgmetadata> |