1
0
Fork 0
mirror of https://github.com/xHyroM/void-packages.git synced 2024-11-10 00:48:06 +01:00
void-packages/srcpkgs/visual-studio-code/template

27 lines
864 B
Bash
Raw Normal View History

2024-03-29 09:07:18 +01:00
# Template file for 'visual-studio-code-bin'
pkgname=visual-studio-code
version=1.87.2
revision=1
archs="x86_64"
provides="code"
hostmakedepends=""
makedepends=""
depends="libxkbfile gnupg gtk+3 libsecret nss libnotify glibc lsof shared-mime-info xdg-utils alsa-lib"
short_desc="Visual Studio Code (vscode): Editor for building and debugging modern web and cloud applications (official binary version)"
maintainer="Jozef Steinhübl <xhyrom.hyro@gmail.com>"
license="custom: commercial"
homepage="https://code.visualstudio.com/"
distfiles="https://update.code.visualstudio.com/${version}/linux-x64/stable>code_x86_${version}.tar.gz"
checksum="c2e97cdc63ff1bcbfbb10c227b5398623d21f21e487108fa1d740dabe7d37985"
do_install() {
vmkdir "opt/${pkgname}"
vlicense "resources/app/LICENSE.rtf"
vcopy "*" "opt/${pkgname}"
vinstall "${FILESDIR}/code" 755 "usr/bin"
}