From c50f770046dc8a95c3d8454f8f67a154e21f4f56 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 23 Jun 2017 16:22:07 +0200 Subject: bin/mksrcinfo: use makepkg and mksrcinfo as before --- bin/mksrcinfo | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'bin/mksrcinfo') diff --git a/bin/mksrcinfo b/bin/mksrcinfo index a033a6a..cfbf917 100755 --- a/bin/mksrcinfo +++ b/bin/mksrcinfo @@ -1,3 +1,6 @@ #!/bin/sh -mksrcinfo -o .SRCINFO +grep -q '\$CARCH' 'PKGBUILD' && \ + CARCH=i686 makepkg --printsrcinfo > \ + '.SRCINFO' || \ + mksrcinfo -o .SRCINFO -- cgit v1.2.3-70-g09d2