[arch-commits] Commit in electron2/trunk (PKGBUILD)
Eli Schwartz
eschwartz at archlinux.org
Sun Mar 3 07:00:22 UTC 2019
Date: Sunday, March 3, 2019 @ 07:00:21
Author: eschwartz
Revision: 437428
rename internal binary to "electron" without the "2"
It's been determined that there is no compelling need to version the binary
name in /usr/lib/electron2, meanwhile it prevents some use cases like using
electronDist = /usr/lib/electron2 to avoid bandwidth waste when using
electron-builder and debundling electron.
Modified:
electron2/trunk/PKGBUILD
----------+
PKGBUILD | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-03-03 03:25:21 UTC (rev 437427)
+++ PKGBUILD 2019-03-03 07:00:21 UTC (rev 437428)
@@ -236,9 +236,9 @@
ui_resources_200_percent.pak \
views_resources_200_percent.pak \
-t "${pkgdir}"/usr/lib/electron2
- install -m755 electron "${pkgdir}"/usr/lib/electron2/electron2
+ install -m755 electron "${pkgdir}"/usr/lib/electron2/electron
install -dm755 "${pkgdir}"/usr/bin
- ln -s ../lib/electron2/electron2 "${pkgdir}"/usr/bin
+ ln -s ../lib/electron2/electron "${pkgdir}"/usr/bin/electron2
# namcap warning: Referenced library 'libnode.so' is an uninstalled dependency
# Fixable by moving libnode.so to /usr/lib
install -m644 libnode.so "${pkgdir}"/usr/lib/electron2
More information about the arch-commits
mailing list