vscode: fix symlink, add missing dependencies
This commit is contained in:
parent
438cafbb35
commit
0a57b92b10
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue