summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorD. Can Celasun2019-10-08 10:05:17 +0100
committerD. Can Celasun2019-10-08 10:05:17 +0100
commit0a0ddf61a5bb95f4c3239bdc8fb5f59d095f3989 (patch)
treef6b63ff58afe2f8424b1a9a132f42803d821c7f0
parent0d55a2e048273d7d49f694e7391f4389570b2ab4 (diff)
downloadaur-0a0ddf61a5bb95f4c3239bdc8fb5f59d095f3989.tar.gz
[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
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD14
-rwxr-xr-xcode.pngbin220706 -> 0 bytes
3 files changed, 4 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 85a747123a36..fb99930a33bb 100644
--- a/.SRCINFO
+++ b/.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
diff --git a/PKGBUILD b/PKGBUILD
index 22d92cc5756b..be08b9f28961 100644
--- a/PKGBUILD
+++ b/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"
}
diff --git a/code.png b/code.png
deleted file mode 100755
index 4d91c37a3fed..000000000000
--- a/code.png
+++ /dev/null
Binary files differ