blob: 9ef2606ce8cf639e5897343a406ad9fb4fbc017f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Maintainer: marmis <tiagodepalves@gmail.com>
# Contributor: marmis <tiagodepalves@gmail.com>
pkgname=vscode-xdg-patch-hook
pkgdesc="Pacman hooks that patch VSCode files for improved XDG experience (#15741, #129953, #214741)"
# https://github.com/microsoft/vscode/issues/15741
# https://github.com/microsoft/vscode/issues/129953
# https://github.com/microsoft/vscode/issues/214741
url='https://aur.archlinux.org/packages/vscode-xdg-patch-hook'
pkgver=1.0.3
pkgrel=1
arch=('any')
license=(LicenseRef-None)
install=${pkgname}.install
depends=(sed grep pacman)
optdepends=('code' 'vscode')
options=(!strip !debug)
source=(vscode-xdg-patch.hook apply-xdg-patch.sh)
b2sums=('e4637eb7057ff9cf58daf3468591929938d8b659c980bc0c8f26b97a959735e19221bad6da2312ee1e8770024eb8a27599013ab80fb4a5b32110e10e93a4d80b'
'05c996c065924d4df1b3dde261caeb26349d6d943cf2339d0044dc902833fe84aefb131c5167350b23b41be7bafff45e818e0d43d7d077620defa51a1d63868d')
package() {
install -d "${pkgdir}/usr/share/libalpm/hooks"
install -d "${pkgdir}/usr/lib/${pkgname}"
install -m644 "${srcdir}/vscode-xdg-patch.hook" "${pkgdir}/usr/share/libalpm/hooks/vscode-xdg-patch.hook"
install -m755 "${srcdir}/apply-xdg-patch.sh" "${pkgdir}/usr/lib/${pkgname}/apply-xdg-patch.sh"
}
|