From ee14987d5e7ceefd29bb0cf253f8475d8cfcdf10 Mon Sep 17 00:00:00 2001 From: TheDevKiller Date: Sat, 27 Apr 2019 18:44:26 +0200 Subject: [PATCH] Add VSCode --- app-editors/vscode/Manifest | 2 ++ app-editors/vscode/vscode-1.33.1.ebuild | 29 +++++++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 app-editors/vscode/Manifest create mode 100644 app-editors/vscode/vscode-1.33.1.ebuild diff --git a/app-editors/vscode/Manifest b/app-editors/vscode/Manifest new file mode 100644 index 0000000..3c848f8 --- /dev/null +++ b/app-editors/vscode/Manifest @@ -0,0 +1,2 @@ +DIST 1.33.1.tar.gz 8704440 BLAKE2B de46124000cb2bdef2221f586a6e9b82dd7ee90bc1c3b1150614efbbc74d891aa72746b6986b49e359e920c8298aabc86f96174159f9bc74dcd5796eb342d994 SHA512 dda0932589cb80ea057c8d05d20e81a085d070fc995c71d2f24d641bbd00de535799047b289ddf774b3880c1b05a252ffd68580dba87265df9ddbdb3f737a9cf +EBUILD vscode-1.33.1.ebuild 640 BLAKE2B d8d213e7f82c9b4de59f74577f86ebe0142409e69ee06d1d6a607ddcc1ca4fcc1927faa8aa0a26069f5c95cffc916a8d27aef990bafc01f07b39e38512f57b68 SHA512 e1c1d9ede0282385d4d3a06775229b91aeebdd6ba89f274ccb8ebadb7b0127f9eff8bc93414c50f5dd7047b6989c7abe3888005e0de6a850f72ae5d35fce3f15 diff --git a/app-editors/vscode/vscode-1.33.1.ebuild b/app-editors/vscode/vscode-1.33.1.ebuild new file mode 100644 index 0000000..f7c2138 --- /dev/null +++ b/app-editors/vscode/vscode-1.33.1.ebuild @@ -0,0 +1,29 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Visual Studio Code https://code.visualstudio.com" +HOMEPAGE="https://github.com/Microsoft/vscode/wiki/How-to-Contribute#build-and-run" +SRC_URI="https://github.com/Microsoft/${PN}/archive/${PV}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="~net-libs/nodejs-10.15 + =dev-lang/python-2.7" +RDEPEND="${DEPEND}" +BDEPEND="=sys-apps/yarn-1.15.2" + +src_compile() { + yarn watch +} + +src_install() { + insinto /usr/share/code + doins -r . + insinto /usr/share/applications + doins resources/linux/code.desktop +}