vscode: fix symlink, add missing dependencies

This commit is contained in:
Toby Merz 2019-01-30 09:58:16 +01:00 committed by maxice8
parent 438cafbb35
commit 0a57b92b10

View file

@ -1,10 +1,10 @@
# Template file for 'vscode'
pkgname=vscode
version=1.30.2
revision=1
revision=2
hostmakedepends="pkg-config python nodejs-lts yarn"
makedepends="libxkbfile-devel libsecret-devel"
depends="GConf libXtst libxkbfile nss"
depends="GConf libXtst libxkbfile nss dejavu-fonts-ttf"
short_desc="Microsoft Code for Linux"
maintainer="shizonic <realtiaz@gmail.com>"
license="MIT"
@ -45,8 +45,8 @@ do_install() {
vmkdir usr/bin
ln -sf /usr/lib/code-oss/bin/code-oss ${DESTDIR}/usr/bin/
vmkdir usr/share/applications
ln -sf /usr/share/code-oss/resources/app/resources/linux/code.desktop ${DESTDIR}/usr/share/applications/code-oss.desktop
ln -sf /usr/lib/code-oss/resources/app/resources/linux/code.desktop ${DESTDIR}/usr/share/applications/code-oss.desktop
vmkdir usr/share/pixmaps
ln -sf /usr/share/code-oss/resources/app/resources/linux/code.png ${DESTDIR}/usr/share/pixmaps/code-oss.png
ln -sf /usr/lib/code-oss/resources/app/resources/linux/code.png ${DESTDIR}/usr/share/pixmaps/code-oss.png
vlicense LICENSE.txt
}