summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Flemström2016-09-20 23:03:14 -0400
committerDavid Flemström2016-09-20 23:03:14 -0400
commitcd39cd6a9b79cbc027cd59606e11bb6a0d0a46ad (patch)
tree97678f71231e59b749eadfe5301474f2e167680c
parent0382604750c39a3ca2985e86349f3d155429bbaf (diff)
downloadaur-cd39cd6a9b79cbc027cd59606e11bb6a0d0a46ad.tar.gz
Convert thin archives into thick ones
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD7
2 files changed, 7 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c7404818eb4..376f1baab44 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Tue Sep 20 19:50:49 UTC 2016
+# Wed Sep 21 03:00:08 UTC 2016
pkgbase = v8-static-gyp
pkgdesc = Fast and modern Javascript engine used in Google Chrome.
pkgver = 5.4.374.1
- pkgrel = 3
+ pkgrel = 4
url = https://code.google.com/p/v8/
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index b935da6ce7e..aac8f2345bf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=v8-static-gyp
pkgver=5.4.374.1
-pkgrel=3
+pkgrel=4
pkgdesc="Fast and modern Javascript engine used in Google Chrome."
arch=('i686' 'x86_64')
url="https://code.google.com/p/v8/"
@@ -60,7 +60,10 @@ build() {
msg2 "Start building..."
ninja -C out/Release # or target 'v8 d8' if you do not need tests
- }
+
+ # Convert thin archives into thick ones
+ find -name '*.a' -type f -exec sh -c 'ar t {} | xargs ar rs {}.new && mv {}.new {}' \;
+}
check() {
cd v8