mirror of
https://github.com/archlinux/aur.git
synced 2026-02-28 17:33:27 +01:00
[visual-studio-code-bin] Remove code.png
This was a workaround for an Xfce bug [1] which is fixed upstream. [1] https://bugzilla.xfce.org/show_bug.cgi?id=15294
This commit is contained in:
parent
0d55a2e048
commit
0a0ddf61a5
3 changed files with 4 additions and 14 deletions
4
.SRCINFO
4
.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.38.1
|
||||
pkgrel = 2
|
||||
pkgrel = 3
|
||||
url = https://code.visualstudio.com/
|
||||
arch = x86_64
|
||||
license = custom: commercial
|
||||
|
|
@ -25,11 +25,9 @@ pkgbase = visual-studio-code-bin
|
|||
source = code_x64_1.38.1.tar.gz::https://vscode-update.azurewebsites.net/1.38.1/linux-x64/stable
|
||||
source = visual-studio-code.desktop
|
||||
source = visual-studio-code-url-handler.desktop
|
||||
source = code.png
|
||||
sha256sums = 589b28d957d811d4b08cbb900270937719af6044ffc6219c813f6282c5efaaf3
|
||||
sha256sums = 488592034dd5f979083bbd80788d33e253bb3ac3e52d50faee80e715a924a212
|
||||
sha256sums = 727adaf263801462744c65bc0fad1b64ab31b3c96ed1a11e5b61bffbd5d71bc7
|
||||
sha256sums = 7537330cec94b308feaa9bb66db45b5554b8379ec7dce83990521d2860bca4b2
|
||||
|
||||
pkgname = visual-studio-code-bin
|
||||
|
||||
|
|
|
|||
14
PKGBUILD
14
PKGBUILD
|
|
@ -3,7 +3,7 @@
|
|||
pkgname=visual-studio-code-bin
|
||||
_pkgname=visual-studio-code
|
||||
pkgver=1.38.1
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
pkgdesc="Visual Studio Code (vscode): Editor for building and debugging modern web and cloud applications (official binary version)"
|
||||
arch=('x86_64')
|
||||
url="https://code.visualstudio.com/"
|
||||
|
|
@ -14,13 +14,10 @@ depends=(fontconfig libxtst gtk3 python cairo alsa-lib nss gcc-libs libnotify li
|
|||
optdepends=('glib2: Needed for move to trash functionality'
|
||||
'libdbusmenu-glib: Needed for KDE global menu')
|
||||
source=(code_x64_${pkgver}.tar.gz::https://vscode-update.azurewebsites.net/${pkgver}/linux-x64/stable
|
||||
${_pkgname}.desktop ${_pkgname}-url-handler.desktop
|
||||
code.png
|
||||
)
|
||||
${_pkgname}.desktop ${_pkgname}-url-handler.desktop)
|
||||
sha256sums=('589b28d957d811d4b08cbb900270937719af6044ffc6219c813f6282c5efaaf3'
|
||||
'488592034dd5f979083bbd80788d33e253bb3ac3e52d50faee80e715a924a212'
|
||||
'727adaf263801462744c65bc0fad1b64ab31b3c96ed1a11e5b61bffbd5d71bc7'
|
||||
'7537330cec94b308feaa9bb66db45b5554b8379ec7dce83990521d2860bca4b2')
|
||||
'727adaf263801462744c65bc0fad1b64ab31b3c96ed1a11e5b61bffbd5d71bc7')
|
||||
package() {
|
||||
_pkg=VSCode-linux-x64
|
||||
|
||||
|
|
@ -37,9 +34,4 @@ package() {
|
|||
|
||||
cp -r "${srcdir}/${_pkg}/"* "${pkgdir}/opt/${_pkgname}" -R
|
||||
ln -s /opt/${_pkgname}/bin/code "${pkgdir}"/usr/bin/code
|
||||
|
||||
# XFCE bug workaround
|
||||
# see https://aur.archlinux.org/packages/visual-studio-code-bin/#comment-692211
|
||||
mkdir -p "${pkgdir}/usr/share/icons/hicolor/512x512/apps"
|
||||
install -m644 "${srcdir}/code.png" "${pkgdir}/usr/share/icons/hicolor/512x512/apps/visual-studio-code.png"
|
||||
}
|
||||
|
|
|
|||
BIN
code.png
BIN
code.png
Binary file not shown.
|
Before Width: | Height: | Size: 216 KiB |
Loading…
Add table
Reference in a new issue