[arch-commits] Commit in electron/trunk (PKGBUILD)
Nicola Squartini
tensor5 at archlinux.org
Tue Dec 8 07:00:13 UTC 2020
Date: Tuesday, December 8, 2020 @ 07:00:12
Author: tensor5
Revision: 771738
upgpkg: electron 11.0.4-1
Modified:
electron/trunk/PKGBUILD
----------+
PKGBUILD | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-12-08 05:14:17 UTC (rev 771737)
+++ PKGBUILD 2020-12-08 07:00:12 UTC (rev 771738)
@@ -1,8 +1,8 @@
# Maintainer: Nicola Squartini <tensor5 at gmail.com>
pkgname=electron
-pkgver=11.0.3
-_commit=b0862a6e63173c4c919bd5ed27d257235bbfe7d2
+pkgver=11.0.4
+_commit=0fd6a8ca83a40d07dca8a33ecf468dd348e7bc3d
_chromiumver=87.0.4280.67
pkgrel=1
pkgdesc='Build cross platform desktop apps with web technologies'
@@ -20,7 +20,7 @@
"xdg-utils: open URLs with desktop's default (xdg-email, xdg-open)")
source=('git+https://github.com/electron/electron.git'
'git+https://chromium.googlesource.com/chromium/tools/depot_tools.git'
- 'electron.desktop'
+ "${pkgname}.desktop"
'default_app-icon.patch'
'use-system-libraries-in-node.patch'
'chromium-skia-harmony.patch'
@@ -175,23 +175,23 @@
}
package() {
- install -dm755 "${pkgdir}/usr/lib/electron"
- bsdtar -xf src/out/Release/dist.zip -C "${pkgdir}/usr/lib/electron"
+ install -dm755 "${pkgdir}/usr/lib/${pkgname}"
+ bsdtar -xf src/out/Release/dist.zip -C "${pkgdir}/usr/lib/${pkgname}"
- chmod u+s "${pkgdir}/usr/lib/electron/chrome-sandbox"
+ chmod u+s "${pkgdir}/usr/lib/${pkgname}/chrome-sandbox"
install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}"
- for l in "${pkgdir}/usr/lib/electron"/{LICENSE,LICENSES.chromium.html}; do
+ for l in "${pkgdir}/usr/lib/${pkgname}"/{LICENSE,LICENSES.chromium.html}; do
ln -s \
- $(realpath --relative-to="${pkgdir}/usr/share/licenses/${pkgname}" ${l}) \
+ "$(realpath --relative-to="${pkgdir}/usr/share/licenses/${pkgname}" "${l}")" \
"${pkgdir}/usr/share/licenses/${pkgname}"
done
install -dm755 "${pkgdir}"/usr/bin
- ln -s ../lib/electron/electron "${pkgdir}"/usr/bin
+ ln -s "../lib/${pkgname}/electron" "${pkgdir}/usr/bin/${pkgname}"
# Install .desktop and icon file (see default_app-icon.patch)
- install -Dm644 -t "${pkgdir}/usr/share/applications" electron.desktop
+ install -Dm644 -t "${pkgdir}/usr/share/applications" "${pkgname}.desktop"
install -Dm644 src/electron/default_app/icon.png \
- "${pkgdir}/usr/share/pixmaps/electron.png" # hicolor has no 1024x1024
+ "${pkgdir}/usr/share/pixmaps/${pkgname}.png" # hicolor has no 1024x1024
}
More information about the arch-commits
mailing list