Fix arch package building on Travis.

This commit is contained in:
Paul Chote
2014-06-07 15:41:30 +12:00
parent 5784444720
commit c811be1795
2 changed files with 8 additions and 4 deletions

View File

@@ -13,10 +13,10 @@ sed -i "s/{VERSION}/$PKGVERSION/" PKGBUILD
rootdir=`readlink -f $2`
sed -i "s|{ROOT}|$rootdir|" PKGBUILD
makepkg --holdver -p PKGBUILD
makepkg --holdver --nodeps -p PKGBUILD
if [ $? -ne 0 ]; then
exit 1
fi
mv openra-$PKGVERSION-1-any.pkg.tar.xz $3
mv openra-$PKGVERSION-1-any.pkg.tar.gz $3