Date: Monday, August 19, 2019 @ 07:46:04 Author: ffy00 Revision: 500153
fix zsh completitions and vscode:// urls (1.37.1-2) Modified: code/trunk/PKGBUILD ----------+ PKGBUILD | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2019-08-19 07:30:32 UTC (rev 500152) +++ PKGBUILD 2019-08-19 07:46:04 UTC (rev 500153) @@ -6,7 +6,7 @@ pkgdesc='The Open Source build of Visual Studio Code (vscode) editor' # Remember to check https://github.com/microsoft/vscode/wiki/How-to-Contribute#prerequisites for target node version pkgver=1.37.1 -pkgrel=1 +pkgrel=2 arch=('x86_64') url='https://github.com/microsoft/vscode' license=('MIT') @@ -18,12 +18,14 @@ 'code.js' 'code.sh' 'product_json.diff' - 'enable-proposed-apis.diff') + 'enable-proposed-apis.diff' + "fix-zsh-completions.patch::$url/commit/280be12a3a90f40949d345d94894d4af6b782c6d.patch") sha512sums=('SKIP' '814c9554427183cd893a33cd2cbe91f6e0ea71921ef0717c86217b1d3058d265f9ff7a9ace3e7b76f122e60b7686475cf4d999e581a1845face3033afb9f745f' 'dfd9ca38e6510c9ad59fb24c1141fdfeb136f457392aee79b0bc2ff378c4c54d81a06728ba3ec4039d57dfcd730c26686585de9b4032a21ee8151a4f05195c15' '8ec47e497287d67f37e7b669af416f43d5cdbd4574892867d7b95996ef5de53640b5bc919b06b177e1fd91cb005579d6ed0c17325117b9914ba7cf28f5f06e40' - 'b267dcedaf51067a782d0f14007663b706973c1538f7fb91f093475134c2145fd0ffd5ed2b47ad7f01c6167a78a4af285d2818d7850fc67a7f7a473324824664') + 'b267dcedaf51067a782d0f14007663b706973c1538f7fb91f093475134c2145fd0ffd5ed2b47ad7f01c6167a78a4af285d2818d7850fc67a7f7a473324824664' + 'c37f8a57bde580daba491449c56c1b5b4a83189cafafbd3984542702b117d08b04574db1951eefe676f303e84fcc9ce3d0a28192ad2321fb5903e7ca7f069a52') # Even though we don't officially support other archs, let's # allow the user to use this PKGBUILD to compile the package @@ -50,6 +52,7 @@ # This patch no longer contains proprietary modifications. # See https://github.com/Microsoft/vscode/issues/31168 for details. patch -p0 < ../product_json.diff + patch -p1 < ../fix-zsh-completions.patch # Set the commit and build date local _commit=$(git rev-parse HEAD) @@ -71,6 +74,7 @@ s|@@NAME@@|code-oss|g s|@@ICON@@|code-oss|g s|@@LICENSE@@|MIT|g + s|@@URLPROTOCOL@@|vscode|g s|inode/directory;||' resources/linux/code{.appdata.xml,.desktop,-url-handler.desktop} # Add missing exectable name to bash completion
