diff options
Diffstat (limited to 'desktop/lumina/lumina.SlackBuild')
-rw-r--r-- | desktop/lumina/lumina.SlackBuild | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/desktop/lumina/lumina.SlackBuild b/desktop/lumina/lumina.SlackBuild index 0e6cada807..f910a51d07 100644 --- a/desktop/lumina/lumina.SlackBuild +++ b/desktop/lumina/lumina.SlackBuild @@ -25,14 +25,14 @@ # not, see <https://www.gnu.org/licenses/>. 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 |