mirror of
https://github.com/archlinux/aur.git
synced 2026-02-28 12:23:43 +01:00
[visual-studio-code-bin] Add shell completions
This commit is contained in:
parent
428f83ae82
commit
f5a07a7ca5
2 changed files with 4 additions and 2 deletions
2
.SRCINFO
2
.SRCINFO
|
|
@ -1,7 +1,7 @@
|
|||
pkgbase = visual-studio-code-bin
|
||||
pkgdesc = Visual Studio Code (vscode): Editor for building and debugging modern web and cloud applications (official binary version)
|
||||
pkgver = 1.61.1
|
||||
pkgrel = 1
|
||||
pkgrel = 2
|
||||
url = https://code.visualstudio.com/
|
||||
arch = x86_64
|
||||
arch = i686
|
||||
|
|
|
|||
4
PKGBUILD
4
PKGBUILD
|
|
@ -3,7 +3,7 @@
|
|||
pkgname=visual-studio-code-bin
|
||||
_pkgname=visual-studio-code
|
||||
pkgver=1.61.1
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Visual Studio Code (vscode): Editor for building and debugging modern web and cloud applications (official binary version)"
|
||||
arch=('x86_64' 'i686' 'aarch64' 'armv7h')
|
||||
url="https://code.visualstudio.com/"
|
||||
|
|
@ -58,6 +58,8 @@ package() {
|
|||
install -m644 "${srcdir}/${_pkgname}.desktop" "${pkgdir}/usr/share/applications/${_pkgname}.desktop"
|
||||
install -m644 "${srcdir}/${_pkgname}-url-handler.desktop" "${pkgdir}/usr/share/applications/${_pkgname}-url-handler.desktop"
|
||||
install -m644 "${srcdir}/${_pkgname}-workspace.xml" "${pkgdir}/usr/share/mime/packages/${pkgname}-workspace.xml"
|
||||
install -Dm 644 "${srcdir}/${_pkg}/resources/completions/bash/code" "${pkgdir}/usr/share/bash-completion/completions/code"
|
||||
install -Dm 644 "${srcdir}/${_pkg}/resources/completions/zsh/_code" "${pkgdir}/usr/share/zsh/site-functions/_code"
|
||||
|
||||
cp -r "${srcdir}/${_pkg}/"* "${pkgdir}/opt/${_pkgname}" -R
|
||||
ln -s /opt/${_pkgname}/bin/code "${pkgdir}"/usr/bin/code
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue