diff options
Diffstat (limited to 'development/ninja/ninja.SlackBuild')
-rw-r--r-- | development/ninja/ninja.SlackBuild | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/development/ninja/ninja.SlackBuild b/development/ninja/ninja.SlackBuild index 900bce438e..eb2109b84d 100644 --- a/development/ninja/ninja.SlackBuild +++ b/development/ninja/ninja.SlackBuild @@ -23,13 +23,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=ninja -VERSION=${VERSION:-1.7.1} +VERSION=${VERSION:-1.7.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -46,11 +46,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -if [ -e $CWD/v$VERSION.tar.gz ]; then - tar xvf $CWD/v$VERSION.tar.gz -else - tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -fi +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ |