makedeb


electron9-bin 9.4.4-1


Build cross platform desktop apps with web technologies - version 9 - binary version

Click here to go back to the commit logs for electron9-bin.

Commit:


Hash: 17d1ca47b32e1b728842c2df51c186b4690f94a8

Message: 9.0.4 Signed-off-by: Yurii Kolesnykov <root@yurikoles.com>

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 3e3bd91..ad3dea3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
 pkgbase = electron9-bin
-	pkgdesc = Build cross platform desktop apps with web technologies - version 8 - binary version
-	pkgver = 9.0.2
+	pkgdesc = Build cross platform desktop apps with web technologies - version ${_major} - binary version
+	pkgver = 9.0.4
 	pkgrel = 1
 	url = https://electronjs.org/
 	arch = x86_64
@@ -17,28 +17,30 @@ pkgbase = electron9-bin
 	depends = libxss
 	depends = minizip
 	depends = nss
+	depends = re2
 	depends = snappy
 	optdepends = kde-cli-tools: file deletion support (kioclient5)
+	optdepends = libappindicator-gtk3: StatusNotifierItem support
 	optdepends = trash-cli: file deletion support (trash-put)
 	optdepends = xdg-utils: open URLs with desktop's default (xdg-email, xdg-open)
 	provides = electron9
 	conflicts = electron9
-	source_x86_64 = electron9-bin-chromedriver-9.0.2-1-x86_64.zip::https://github.com/electron/electron/releases/download/v9.0.2/chromedriver-v9.0.2-linux-x64.zip
-	source_x86_64 = electron9-bin-9.0.2-1-x86_64.zip::https://github.com/electron/electron/releases/download/v9.0.2/electron-v9.0.2-linux-x64.zip
-	sha256sums_x86_64 = 01f4f472f83ba8bfc96b90f07e6a9c266ea4c374cfbc756aa5f6c9ecf9efd06f
-	sha256sums_x86_64 = 08326f505692010d6c92f444a25f450cf19323cd98c5d94cab1057e80601caa1
-	source_i686 = electron9-bin-chromedriver-9.0.2-1-i686.zip::https://github.com/electron/electron/releases/download/v9.0.2/chromedriver-v9.0.2-linux-ia32.zip
-	source_i686 = electron9-bin-9.0.2-1-i686.zip::https://github.com/electron/electron/releases/download/v9.0.2/electron-v9.0.2-linux-ia32.zip
-	sha256sums_i686 = ba1fa9e955fa945e75285ec80a8bc590bad135f701402e7ffb994328846216c2
-	sha256sums_i686 = 2e950e4ab91453f7611fcfedbe90eff844677dbcc7df87a6fe0889bd3d82daaa
-	source_armv7h = electron9-bin-chromedriver-9.0.2-1-armv7h.zip::https://github.com/electron/electron/releases/download/v9.0.2/chromedriver-v9.0.2-linux-armv7l.zip
-	source_armv7h = electron9-bin-9.0.2-1-armv7h.zip::https://github.com/electron/electron/releases/download/v9.0.2/electron-v9.0.2-linux-armv7l.zip
-	sha256sums_armv7h = ef67dbd09e4b64b0e3c071f64482a34e4241772fb1939922f0cbef320d2cea67
-	sha256sums_armv7h = cc098caebbed5022f26d12f9b5dc316a35dbae0bcf62b9fc72c3b385f93a32d5
-	source_aarch64 = electron9-bin-chromedriver-9.0.2-1-aarch64.zip::https://github.com/electron/electron/releases/download/v9.0.2/chromedriver-v9.0.2-linux-arm64.zip
-	source_aarch64 = electron9-bin-9.0.2-1-aarch64.zip::https://github.com/electron/electron/releases/download/v9.0.2/electron-v9.0.2-linux-arm64.zip
-	sha256sums_aarch64 = e05b51f84abc4660c83958f9c1f33c6f8f54f40a16206c56c3fd4b71fea26569
-	sha256sums_aarch64 = ee39854d8e9ee06e9b94c457a52b0556f570316bbd755d7022e3eade4b5974d5
+	source_x86_64 = electron9-bin-chromedriver-9.0.4-1-x86_64.zip::https://github.com/electron/electron/releases/download/v9.0.4/chromedriver-v9.0.4-linux-x64.zip
+	source_x86_64 = electron9-bin-9.0.4-1-x86_64.zip::https://github.com/electron/electron/releases/download/v9.0.4/electron-v9.0.4-linux-x64.zip
+	sha256sums_x86_64 = e57e3caa48b5fa68bb85cfa72be53ec55f88557220b0a2d5a642a281b576f955
+	sha256sums_x86_64 = 8fc71e73f060065d21f0e23f1af553769bce943d5c81abf1a3ec66b0501ac40b
+	source_i686 = electron9-bin-chromedriver-9.0.4-1-i686.zip::https://github.com/electron/electron/releases/download/v9.0.4/chromedriver-v9.0.4-linux-ia32.zip
+	source_i686 = electron9-bin-9.0.4-1-i686.zip::https://github.com/electron/electron/releases/download/v9.0.4/electron-v9.0.4-linux-ia32.zip
+	sha256sums_i686 = c0ca77e3deb9b3063bb5e1aa2424f27236e2dfbdcb8ac3591f2c96e0c8f77459
+	sha256sums_i686 = 6bf8c571894aea9c160ffe387757b9bdc48a4021bad8e1492bfc8bc1a11309ff
+	source_armv7h = electron9-bin-chromedriver-9.0.4-1-armv7h.zip::https://github.com/electron/electron/releases/download/v9.0.4/chromedriver-v9.0.4-linux-armv7l.zip
+	source_armv7h = electron9-bin-9.0.4-1-armv7h.zip::https://github.com/electron/electron/releases/download/v9.0.4/electron-v9.0.4-linux-armv7l.zip
+	sha256sums_armv7h = 8f0e4f5c27955b45a03dca7f5a1cbf111e06c19f82803cfadd95a67f1d625ae6
+	sha256sums_armv7h = a1554df2c2c962bcd99d8823e61de6368ec16095d6472cc0ab1f3ec06b6e5342
+	source_aarch64 = electron9-bin-chromedriver-9.0.4-1-aarch64.zip::https://github.com/electron/electron/releases/download/v9.0.4/chromedriver-v9.0.4-linux-arm64.zip
+	source_aarch64 = electron9-bin-9.0.4-1-aarch64.zip::https://github.com/electron/electron/releases/download/v9.0.4/electron-v9.0.4-linux-arm64.zip
+	sha256sums_aarch64 = b39ec31269c1f031e0a47b7c5e0742a378996c9a6fc26d9fd225e49aaef98971
+	sha256sums_aarch64 = e7ba491a01b64d824c6fa412be60612e39cf0937b3040b48e67974046f0bd97c
 
 pkgname = electron9-bin
 
diff --git a/PKGBUILD b/PKGBUILD
index 251f0a7..e453dbd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,57 +1,66 @@
-# Maintainer: Tom Vincent <http://tlvince.com/contact/>
+# Maintainer: Yurii Kolesnykov <root@yurikoles.com>
+# based on aur electron8-bin: Tom Vincent <http://tlvince.com/contact/>
+
 _projectname='electron'
-_pkgname="${_projectname}9"
-pkgname="${_pkgname}-bin"
-pkgver='9.0.2'
+_major='9'
+_pkgname="${_projectname}${_major}"
+pkgname="$_pkgname-bin"
+pkgver='9.0.4'
 pkgrel='1'
-pkgdesc='Build cross platform desktop apps with web technologies - version 8 - binary version'
+pkgdesc='Build cross platform desktop apps with web technologies - version ${_major} - binary version'
 arch=('x86_64' 'i686' 'armv7h' 'aarch64')
 url="https://${_projectname}js.org/"
 license=('MIT')
-provides=("${_pkgname}")
-conflicts=("${_pkgname}")
-depends=('c-ares' 'ffmpeg' 'gtk3' 'http-parser' 'libevent' 'libxslt' 'libxss' 'minizip' 'nss' 'snappy')
+provides=("$_pkgname")
+conflicts=("$_pkgname")
+depends=('c-ares' 'ffmpeg' 'gtk3' 'http-parser' 'libevent' 'libxslt' 'libxss' 'minizip' 'nss' 're2' 'snappy')
 optdepends=(
- 'kde-cli-tools: file deletion support (kioclient5)'
- 'trash-cli: file deletion support (trash-put)'
- "xdg-utils: open URLs with desktop's default (xdg-email, xdg-open)"
+	'kde-cli-tools: file deletion support (kioclient5)'
+	'libappindicator-gtk3: StatusNotifierItem support'
+	'trash-cli: file deletion support (trash-put)'
+	"xdg-utils: open URLs with desktop's default (xdg-email, xdg-open)"
 )
-_releaseurl="https://github.com/${_projectname}/${_projectname}/releases/download/v${pkgver}"
+_releaseurl="https://github.com/$_projectname/$_projectname/releases/download/v$pkgver"
 source_x86_64=(
- "${pkgname}-chromedriver-${pkgver}-${pkgrel}-x86_64.zip::${_releaseurl}/chromedriver-v${pkgver}-linux-x64.zip"
- "${pkgname}-${pkgver}-${pkgrel}-x86_64.zip::${_releaseurl}/${_projectname}-v${pkgver}-linux-x64.zip"
+	"$pkgname-chromedriver-$pkgver-$pkgrel-x86_64.zip::$_releaseurl/chromedriver-v$pkgver-linux-x64.zip"
+	"$pkgname-$pkgver-$pkgrel-x86_64.zip::$_releaseurl/$_projectname-v$pkgver-linux-x64.zip"
 )
 source_i686=(
- "${pkgname}-chromedriver-${pkgver}-${pkgrel}-i686.zip::${_releaseurl}/chromedriver-v${pkgver}-linux-ia32.zip"
- "${pkgname}-${pkgver}-${pkgrel}-i686.zip::${_releaseurl}/${_projectname}-v${pkgver}-linux-ia32.zip"
+	"$pkgname-chromedriver-$pkgver-$pkgrel-i686.zip::$_releaseurl/chromedriver-v$pkgver-linux-ia32.zip"
+	"$pkgname-$pkgver-$pkgrel-i686.zip::$_releaseurl/$_projectname-v$pkgver-linux-ia32.zip"
 )
 source_armv7h=(
- "${pkgname}-chromedriver-${pkgver}-${pkgrel}-armv7h.zip::${_releaseurl}/chromedriver-v${pkgver}-linux-armv7l.zip"
- "${pkgname}-${pkgver}-${pkgrel}-armv7h.zip::${_releaseurl}/${_projectname}-v${pkgver}-linux-armv7l.zip"
+	"$pkgname-chromedriver-$pkgver-$pkgrel-armv7h.zip::$_releaseurl/chromedriver-v$pkgver-linux-armv7l.zip"
+	"$pkgname-$pkgver-$pkgrel-armv7h.zip::$_releaseurl/$_projectname-v$pkgver-linux-armv7l.zip"
 )
 source_aarch64=(
- "${pkgname}-chromedriver-${pkgver}-${pkgrel}-aarch64.zip::${_releaseurl}/chromedriver-v${pkgver}-linux-arm64.zip"
- "${pkgname}-${pkgver}-${pkgrel}-aarch64.zip::${_releaseurl}/${_projectname}-v${pkgver}-linux-arm64.zip"
+	"$pkgname-chromedriver-$pkgver-$pkgrel-aarch64.zip::$_releaseurl/chromedriver-v$pkgver-linux-arm64.zip"
+	"$pkgname-$pkgver-$pkgrel-aarch64.zip::$_releaseurl/$_projectname-v$pkgver-linux-arm64.zip"
 )
-sha256sums_x86_64=('01f4f472f83ba8bfc96b90f07e6a9c266ea4c374cfbc756aa5f6c9ecf9efd06f'
-                   '08326f505692010d6c92f444a25f450cf19323cd98c5d94cab1057e80601caa1')
-sha256sums_i686=('ba1fa9e955fa945e75285ec80a8bc590bad135f701402e7ffb994328846216c2'
-                 '2e950e4ab91453f7611fcfedbe90eff844677dbcc7df87a6fe0889bd3d82daaa')
-sha256sums_armv7h=('ef67dbd09e4b64b0e3c071f64482a34e4241772fb1939922f0cbef320d2cea67'
-                   'cc098caebbed5022f26d12f9b5dc316a35dbae0bcf62b9fc72c3b385f93a32d5')
-sha256sums_aarch64=('e05b51f84abc4660c83958f9c1f33c6f8f54f40a16206c56c3fd4b71fea26569'
-                    'ee39854d8e9ee06e9b94c457a52b0556f570316bbd755d7022e3eade4b5974d5')
+sha256sums_x86_64=('e57e3caa48b5fa68bb85cfa72be53ec55f88557220b0a2d5a642a281b576f955'
+                   '8fc71e73f060065d21f0e23f1af553769bce943d5c81abf1a3ec66b0501ac40b')
+sha256sums_i686=('c0ca77e3deb9b3063bb5e1aa2424f27236e2dfbdcb8ac3591f2c96e0c8f77459'
+                 '6bf8c571894aea9c160ffe387757b9bdc48a4021bad8e1492bfc8bc1a11309ff')
+sha256sums_armv7h=('8f0e4f5c27955b45a03dca7f5a1cbf111e06c19f82803cfadd95a67f1d625ae6'
+                   'a1554df2c2c962bcd99d8823e61de6368ec16095d6472cc0ab1f3ec06b6e5342')
+sha256sums_aarch64=('b39ec31269c1f031e0a47b7c5e0742a378996c9a6fc26d9fd225e49aaef98971'
+                    'e7ba491a01b64d824c6fa412be60612e39cf0937b3040b48e67974046f0bd97c')
 
 package() {
- cd "$srcdir/"
- install -dm755 "${pkgdir}/usr/lib/${_pkgname}/"
- find . -mindepth 1 -maxdepth 1 -type f ! -name "*.zip" ! -name "LICENSE*" -exec cp -r --no-preserve=ownership --preserve=mode -t "${pkgdir}/usr/lib/${_pkgname}/." {} +
- cp -r --no-preserve=ownership --preserve=mode 'locales/' "${pkgdir}/usr/lib/${_pkgname}/locales/"
- cp -r --no-preserve=ownership --preserve=mode 'resources/' "${pkgdir}/usr/lib/${_pkgname}/resources/"
+	cd "$srcdir/"
+	install -dm755 "$pkgdir/usr/lib/$_pkgname/"
+	find . -mindepth 1 -maxdepth 1 -type f ! -name "*.zip" ! -name "LICENSE*" -exec cp -r --no-preserve=ownership --preserve=mode -t "$pkgdir/usr/lib/$_pkgname/." {} +
+
+	for _folder in 'locales' 'resources' 'swiftshader'; do
+		cp -r --no-preserve=ownership --preserve=mode "$_folder/" "$pkgdir/usr/lib/$_pkgname/$_folder/"
+	done
+
+	chmod u+s "$pkgdir/usr/lib/$_pkgname/chrome-sandbox"
 
- install -dm755 "${pkgdir}/usr/bin"
- ln -nfs "/usr/lib/${_pkgname}/${_projectname}" "${pkgdir}/usr/bin/${_pkgname}"
+	install -dm755 "$pkgdir/usr/bin"
+	ln -nfs "/usr/lib/$_pkgname/$_projectname" "$pkgdir/usr/bin/$_pkgname"
 
- install -Dm644 'LICENSE' "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
- install -Dm644 'LICENSES.chromium.html' "${pkgdir}/usr/share/licenses/${pkgname}/LICENSES.chromium.html"
+	for _license in 'LICENSE' 'LICENSES.chromium.html'; do
+		install -Dm644 "$_license" "$pkgdir/usr/share/licenses/$pkgname/$_license"
+	done
 }