Add VSCode

This commit is contained in:
TheDevKiller 2019-04-27 18:44:26 +02:00
parent 8b7a86cb61
commit ee14987d5e
2 changed files with 31 additions and 0 deletions

View File

@ -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

View File

@ -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
}