summaryrefslogtreecommitdiff
path: root/desktop/lumina/lumina.SlackBuild
diff options
context:
space:
mode:
authorSasongko Bawono <sasongko262@gmail.com>2017-07-02 14:47:26 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-07-05 08:52:25 +0700
commit219f4d79df8daeb3002b7e3d2b3a073be9f4c065 (patch)
treee6948486fd8379b1ceef116460fab3c3d09ad1fb /desktop/lumina/lumina.SlackBuild
parent763075d479bc5d670286a08ca971137ff9f625c4 (diff)
downloadslackbuilds-219f4d79df8daeb3002b7e3d2b3a073be9f4c065.tar.gz
desktop/lumina: Updated for version 1.3.0_p1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/lumina/lumina.SlackBuild')
-rw-r--r--desktop/lumina/lumina.SlackBuild22
1 files changed, 12 insertions, 10 deletions
diff --git a/desktop/lumina/lumina.SlackBuild b/desktop/lumina/lumina.SlackBuild
index 289a210c90..3928aac43e 100644
--- a/desktop/lumina/lumina.SlackBuild
+++ b/desktop/lumina/lumina.SlackBuild
@@ -2,10 +2,11 @@
# Slackware build script for lumina
-# Sasongko Bawono | sasongko262@gmail.com
-# Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org
+# Sasongko Bawono <sasongko262@gmail.com>
-# Thanks to Willy Sudiarto Raharjo.
+# Thanks to :
+# Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Ryan P.C. McQuen <ryanpcmcquen@member.fsf.org>
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -26,8 +27,9 @@
# not, see <https://www.gnu.org/licenses/>.
PRGNAM=lumina
-VERSION=${VERSION:-1.2.0_p1}
-PKGVERSION=${PKGVERSION:-1.2.0-p1}
+VERSION=${VERSION:-1.3.0_p1}
+PKGVERSION=${PKGVERSION:-1.3.0-p1}
+MJRVERSION=${MJRVERSION:-1.3.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -65,7 +67,7 @@ mkdir -pv $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$PKGVERSION
tar xvf $CWD/$PRGNAM-$PKGVERSION.tar.gz
-cd $PRGNAM-$PKGVERSION
+cd $PRGNAM-$MJRVERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -73,17 +75,17 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+sed -i "s|/media|/run/media/\$USER|" src-qt5/core/lumina-desktop/LDesktop.cpp
qmake-qt5 \
PREFIX=/usr \
LIBPREFIX=/usr/lib${LIBDIRSUFFIX} \
QMAKE_CFLAGS="$SLKCFLAGS" \
QMAKE_CXXFLAGS="$SLKCFLAGS" \
- QT5LIBDIR=/usr/lib${LIBDIRSUFFIX}/qt5
+ QT5LIBDIR=/usr/lib${LIBDIRSUFFIX}/qt5 \
+ L_ETCDIR=/etc \
make
-make install \
- INSTALL_ROOT=$PKG \
- DESTDIR=$PKG
+make install INSTALL_ROOT=$PKG DESTDIR=$PKG
mkdir -p $PKG/etc/X11/xinit
install -m 0755 $CWD/xinitrc.lumina $PKG/etc/X11/xinit/xinitrc.lumina