summaryrefslogtreecommitdiff
path: root/development/vscode/vscode.SlackBuild
diff options
context:
space:
mode:
authorAndre Barboza <bmg.andre@gmail.com>2017-01-21 14:28:45 +0000
committerDavid Spencer <idlemoor@slackbuilds.org>2017-01-21 14:29:07 +0000
commitc7868b819a570a98e48db7acd566e81d81d8770e (patch)
tree481910455faf097e2f76d99b397606d6cacbb47d /development/vscode/vscode.SlackBuild
parent0a8a08f29ed6c34e6b779b1bda6bbf93b3d7555e (diff)
downloadslackbuilds-c7868b819a570a98e48db7acd566e81d81d8770e.tar.gz
development/vscode: Fixed building errors.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'development/vscode/vscode.SlackBuild')
-rw-r--r--development/vscode/vscode.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/vscode/vscode.SlackBuild b/development/vscode/vscode.SlackBuild
index 6390a5cae8..ba70445420 100644
--- a/development/vscode/vscode.SlackBuild
+++ b/development/vscode/vscode.SlackBuild
@@ -62,6 +62,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+patch -p1 < $CWD/vscode-$VERSION.patch
./scripts/npm.sh install --arch=$BUILDARCH --unsafe-perm
./node_modules/.bin/gulp vscode-linux-${BUILDARCH}-min
@@ -82,7 +83,7 @@ install -m644 "${CWD}/${PRGNAM}.desktop" "${PKG}/usr/share/applications/${PRGNAM
# copy vscode icon
mkdir -p "${PKG}/usr/share/icons"
install -m644 "${PKG}/opt/${PRGNAM}-${VERSION}/resources/app/resources/linux/code.png" \
- "${PKG}/usr/share/icons/${PRGNAM}.png"
+ "${PKG}/usr/share/icons/${PRGNAM}.png"
# copy license and slackbuild
mkdir -p "$PKG/usr/doc/$PRGNAM-$VERSION"