From dd224a927a0be635f415ee0a427c03ddbd94b343 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 5 Sep 2018 14:40:59 +0200 Subject: community/electron: remove *.a and *.o at the _end_ of prepare() --- community/electron/PKGBUILD | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'community') 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 ' -- cgit v1.2.3-70-g09d2