diff options
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} |