diff options
Diffstat (limited to 'community')
-rw-r--r-- | community/electron/PKGBUILD | 7 | ||||
-rw-r--r-- | community/electron/allow-i686.patch | 14 |
2 files changed, 21 insertions, 0 deletions
diff --git a/community/electron/PKGBUILD b/community/electron/PKGBUILD index fea35930..c1f238b2 100644 --- a/community/electron/PKGBUILD +++ b/community/electron/PKGBUILD @@ -1,4 +1,11 @@ +source+=('allow-i686.patch') +sha256sums+=('c209475c16b506d8d888a54c8564718cf9775f450d1867e19e86a03d99a119be') + eval "$( + declare -f prepare | \ + sed ' + 3 a patch -Np1 -i "${srcdir}"/allow-i686.patch + ' declare -f build | \ sed ' \,^\s*script/bootstrap.py , s/py/py --target_arch=ia32/ diff --git a/community/electron/allow-i686.patch b/community/electron/allow-i686.patch new file mode 100644 index 00000000..154ab9bc --- /dev/null +++ b/community/electron/allow-i686.patch @@ -0,0 +1,14 @@ +--- a/script/update.py ++++ b/script/update.py +@@ -15,11 +15,6 @@ SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__))) + + def main(): + os.chdir(SOURCE_ROOT) +- +- if PLATFORM != 'win32' and platform.architecture()[0] != '64bit': +- print 'Electron is required to be built on a 64bit machine' +- return 1 +- + update_external_binaries() + return update_gyp() + |