Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community/electron/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-09-05 14:40:59 +0200
committerErich Eckner <git@eckner.net>2018-09-05 14:40:59 +0200
commitdd224a927a0be635f415ee0a427c03ddbd94b343 (patch)
tree667c99e9dc85e7d74ed774ac435d9521115a87f5 /community/electron/PKGBUILD
parent9ccc3c0c71f7cd0a3f8578493d4b26c2436a7f63 (diff)
community/electron: remove *.a and *.o at the _end_ of prepare()
Diffstat (limited to 'community/electron/PKGBUILD')
-rw-r--r--community/electron/PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/community/electron/PKGBUILD b/community/electron/PKGBUILD
index b8b43791..395d76f9 100644
--- a/community/electron/PKGBUILD
+++ b/community/electron/PKGBUILD
@@ -4,8 +4,9 @@ sha512sums+=('bce6716f88c0ed7acc72f90ef62f7c4a28b88e98d7fc8dcb6abf545eb6ab7de11e
eval "$(
declare -f prepare | \
sed '
- 2 a find "${srcdir}" \\( '"-name '*.a' -o -name '*.o'"' \\) -delete
3 a patch -Np1 -i "${srcdir}"/allow-i686.patch
+ /^}$/ i \
+ find "${srcdir}" \\( '"-name '*.a' -o -name '*.o'"' \\) -delete
'
declare -f build | \
sed '