From 0fbf4a805dfc9a1cd4f29b5ae31af8050bf984cd Mon Sep 17 00:00:00 2001 From: "Ryan P.C. McQuen" Date: Tue, 9 Aug 2016 19:46:33 -0700 Subject: desktop/lumina: Updated for version 1.0.0-p1. Signed-off-by: Ryan P.C. McQuen --- desktop/lumina/lumina.SlackBuild | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'desktop/lumina/lumina.SlackBuild') diff --git a/desktop/lumina/lumina.SlackBuild b/desktop/lumina/lumina.SlackBuild index 0e6cada807d6..f910a51d07e0 100644 --- a/desktop/lumina/lumina.SlackBuild +++ b/desktop/lumina/lumina.SlackBuild @@ -25,14 +25,14 @@ # not, see . PRGNAM=lumina -VERSION=${VERSION:-0.9.1} -SRCVERSION=${SRCVERSION:-} +VERSION=${VERSION:-1.0.0-p1} +SRCVERSION="`echo $VERSION | cut -d'-' -f1`" 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 @@ -43,8 +43,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -62,13 +62,13 @@ set -eu rm -rf $PKG mkdir -pv $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION-Release$SRCVERSION -if [ -e $CWD/v$VERSION-Release$SRCVERSION.tar.gz ]; then - tar xvf $CWD/v$VERSION-Release$SRCVERSION.tar.gz +rm -rf $PRGNAM-$SRCVERSION-Release* +if [ -e $CWD/v$SRCVERSION-Release*.tar.gz ]; then + tar xvf $CWD/v$SRCVERSION-Release*.tar.gz else - tar xvf $CWD/$PRGNAM-$VERSION-Release$SRCVERSION.tar.gz + tar xvf $CWD/$PRGNAM-$SRCVERSION-Release*.tar.gz fi -cd $PRGNAM-$VERSION-Release$SRCVERSION +cd $PRGNAM-$SRCVERSION-Release* chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -83,7 +83,7 @@ qmake-qt5 \ QMAKE_CXXFLAGS="$SLKCFLAGS" \ QT5LIBDIR=/usr/lib${LIBDIRSUFFIX}/qt5 -make -j1 +make make install \ INSTALL_ROOT=$PKG \ DESTDIR=$PKG -- cgit v1.2.3