summaryrefslogtreecommitdiff
path: root/desktop/lumina/lumina.SlackBuild
diff options
context:
space:
mode:
authorRyan P.C. McQuen <ryan.q@linux.com>2016-08-09 19:46:33 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-08-13 07:23:18 +0700
commit0fbf4a805dfc9a1cd4f29b5ae31af8050bf984cd (patch)
tree4b3c96d427a6b605fd552d88238cfbfbe94692b4 /desktop/lumina/lumina.SlackBuild
parentc51ca0bfab2f55c1f80d6f11ea55afb5582f33bf (diff)
downloadslackbuilds-0fbf4a805dfc9a1cd4f29b5ae31af8050bf984cd.tar.gz
desktop/lumina: Updated for version 1.0.0-p1.
Signed-off-by: Ryan P.C. McQuen <ryan.q@linux.com>
Diffstat (limited to 'desktop/lumina/lumina.SlackBuild')
-rw-r--r--desktop/lumina/lumina.SlackBuild22
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