summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2017-11-03 15:46:18 +0100
committerManuel Rüger <mrueg@gentoo.org>2017-11-03 15:46:18 +0100
commit49eb881cc4b703636d43b42bbe7844ad29a7477f (patch)
treea012778dc310cdc597c1a065cc544cce41009fa2 /dev-util/goland
parentdev-util/pycharm-professional: Version bump to 2017.2.4 (diff)
downloadgentoo-49eb881cc4b703636d43b42bbe7844ad29a7477f.tar.gz
gentoo-49eb881cc4b703636d43b42bbe7844ad29a7477f.tar.bz2
gentoo-49eb881cc4b703636d43b42bbe7844ad29a7477f.zip
dev-util/goland: Version bump, move package from gogland to goland
Package-Manager: Portage-2.3.12, Repoman-2.3.4
Diffstat (limited to 'dev-util/goland')
-rw-r--r--dev-util/goland/Manifest1
-rw-r--r--dev-util/goland/goland-173.3531.21.ebuild45
-rw-r--r--dev-util/goland/metadata.xml8
3 files changed, 54 insertions, 0 deletions
diff --git a/dev-util/goland/Manifest b/dev-util/goland/Manifest
new file mode 100644
index 000000000000..5e080e854f34
--- /dev/null
+++ b/dev-util/goland/Manifest
@@ -0,0 +1 @@
+DIST goland-173.3531.21.tar.gz 213040527 SHA256 5738129cb5ab81428cf6fa0ec18e97221b1303d966e679e575a0ac8e669170cd SHA512 db2deb4e52fb4135e3fb27c63a181c34acddf61dd2bedf81e50144a85b3e9bcb1a7490532b6841815e2b888c660aa26bc8c3176f83bb30bcf20ec568cdfeb65b WHIRLPOOL 51502c1d35a582601378a6ed403c4c84d36418a340f00479180143a1eddcae05832242f9bb075ebb63c906c5f0385a5ef53a32b4d2975669a8b54266b9778e8c
diff --git a/dev-util/goland/goland-173.3531.21.ebuild b/dev-util/goland/goland-173.3531.21.ebuild
new file mode 100644
index 000000000000..3698daaba68c
--- /dev/null
+++ b/dev-util/goland/goland-173.3531.21.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}/GoLand-${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/goland/metadata.xml b/dev-util/goland/metadata.xml
new file mode 100644
index 000000000000..97df2a00971b
--- /dev/null
+++ b/dev-util/goland/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>