summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorD. Can Celasun2021-03-16 15:15:21 +0000
committerD. Can Celasun2021-03-16 15:15:21 +0000
commitf74d733055fdd99efd9a11ff239114a307887a95 (patch)
tree37981fb0bdce009186c0b7ad65d7ac2fafe002c9 /PKGBUILD
parent84d3e54d7705b2c5e13762fa161a0d25643dfdcf (diff)
downloadaur-f74d733055fdd99efd9a11ff239114a307887a95.tar.gz
[visual-studio-code-bin] Remove post_install and add shared-mime-info
dep
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD9
1 files changed, 2 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 6abeafd05e99..1d1156c0ff45 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=visual-studio-code-bin
_pkgname=visual-studio-code
pkgver=1.54.3
-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' 'i686' 'aarch64' 'armv7h')
url="https://code.visualstudio.com/"
@@ -11,7 +11,7 @@ license=('custom: commercial')
provides=('code')
conflicts=('code')
# lsof: need for terminal splitting, see https://github.com/Microsoft/vscode/issues/62991
-depends=(libxkbfile gnupg gtk3 libsecret nss gcc-libs libnotify libxss glibc lsof)
+depends=(libxkbfile gnupg gtk3 libsecret nss gcc-libs libnotify libxss glibc lsof shared-mime-info)
optdepends=('glib2: Needed for move to trash functionality'
'libdbusmenu-glib: Needed for KDE global menu')
source=(${_pkgname}.desktop ${_pkgname}-url-handler.desktop ${_pkgname}-workspace.xml)
@@ -60,8 +60,3 @@ package() {
ln -s /opt/${_pkgname}/bin/code "${pkgdir}"/usr/bin/code
}
-post_install() {
- if hash update-mime-database 2>/dev/null; then
- update-mime-database /usr/share/mime
- fi
-}