diff options
author | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2012-05-10 14:58:40 -0300 |
---|---|---|
committer | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2012-05-10 14:58:40 -0300 |
commit | 38c96cd82f5cab2599823a546269c184435c7656 (patch) | |
tree | 356cd5958b7706123b203da53aac836f203066b9 /librerepkg | |
parent | 4ef5bc5568d52e4ee151b1e0f7e10e840c9bc588 (diff) |
Repackage every architecture in the arch array
Diffstat (limited to 'librerepkg')
-rwxr-xr-x | librerepkg | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -51,17 +51,20 @@ makepkgflags=$@ tempdir=$(mktemp -d /tmp/$(basename $PWD).XXXXX) +msg "Copying files" +cp ./* ${tempdir}/ + for _arch in ${arch[@]}; do - export CARCH=${_arch} msg "Repackaging: $pkgname $pkgver-$pkgrel ($(date -u))" - cp ./* ${tempdir}/ stdnull pushd ${tempdir} msg2 "Updating md5sums" makepkg -gp rePKGBUILD >> rePKGBUILD + echo "export CARCH=${_arch}" >> rePKGBUILD + msg "Repackaging using makepkg" makepkg -Lcdp rePKGBUILD ${makepkgflags} |