mirror of
https://github.com/archlinux/aur.git
synced 2026-02-28 12:23:43 +01:00
[visual-studio-code-bin] Remove post_install and add shared-mime-info
dep
This commit is contained in:
parent
84d3e54d77
commit
f74d733055
2 changed files with 4 additions and 8 deletions
3
.SRCINFO
3
.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.54.3
|
||||
pkgrel = 2
|
||||
pkgrel = 3
|
||||
url = https://code.visualstudio.com/
|
||||
arch = x86_64
|
||||
arch = i686
|
||||
|
|
@ -18,6 +18,7 @@ pkgbase = visual-studio-code-bin
|
|||
depends = libxss
|
||||
depends = glibc
|
||||
depends = lsof
|
||||
depends = shared-mime-info
|
||||
optdepends = glib2: Needed for move to trash functionality
|
||||
optdepends = libdbusmenu-glib: Needed for KDE global menu
|
||||
provides = code
|
||||
|
|
|
|||
9
PKGBUILD
9
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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue