summaryrefslogtreecommitdiff
path: root/desktop/lumina/lumina.SlackBuild
diff options
context:
space:
mode:
authorChris Abela <kristofru@gmail.com>2019-09-14 11:13:12 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-09-14 11:13:12 +0700
commit8d231b4da215b3a253f9c1e3da6471389f566d5a (patch)
tree59df405512592882b209d9a0947c707cd235d541 /desktop/lumina/lumina.SlackBuild
parent102cb07c6c3827456999562135e24404d86b07c9 (diff)
downloadslackbuilds-8d231b4da215b3a253f9c1e3da6471389f566d5a.tar.gz
desktop/lumina: Updated for version 1.5.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/lumina/lumina.SlackBuild')
-rw-r--r--desktop/lumina/lumina.SlackBuild20
1 files changed, 11 insertions, 9 deletions
diff --git a/desktop/lumina/lumina.SlackBuild b/desktop/lumina/lumina.SlackBuild
index 6814c758bb..73a9f16d48 100644
--- a/desktop/lumina/lumina.SlackBuild
+++ b/desktop/lumina/lumina.SlackBuild
@@ -2,6 +2,7 @@
# Slackware build script for lumina
+# 2019, updated by Chris Abela, Malta, <kristofru@gmail.com>
# Sasongko Bawono <sasongko262@gmail.com>
# Thanks to :
@@ -27,8 +28,7 @@
# not, see <https://www.gnu.org/licenses/>.
PRGNAM=lumina
-VERSION=${VERSION:-1.3.0_p1}
-PKGVERSION=${PKGVERSION:-1.3.0-p1}
+VERSION=${VERSION:-1.5.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -64,9 +64,9 @@ set -eu
rm -rf $PKG
mkdir -pv $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$PKGVERSION
-tar xvf $CWD/$PRGNAM-$PKGVERSION.tar.gz
-cd $PRGNAM-$PKGVERSION
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -78,10 +78,12 @@ sed -i "s|/media|/run/media/\$USER|" src-qt5/core/lumina-desktop/LDesktop.cpp
qmake-qt5 \
PREFIX=/usr \
LIBPREFIX=/usr/lib${LIBDIRSUFFIX} \
+ QMAKE_CFLAGS_ISYSTEM= \
QMAKE_CFLAGS="$SLKCFLAGS" \
QMAKE_CXXFLAGS="$SLKCFLAGS" \
QT5LIBDIR=/usr/lib${LIBDIRSUFFIX}/qt5 \
- L_ETCDIR=/etc \
+ CONFIG+=WITH_I18N \
+ L_ETCDIR=/etc
make
make install INSTALL_ROOT=$PKG DESTDIR=$PKG
@@ -92,9 +94,9 @@ install -m 0755 $CWD/xinitrc.lumina $PKG/etc/X11/xinit/xinitrc.lumina
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-mkdir -p $PKG/usr/doc/$PRGNAM-$PKGVERSION
-cp -a LICENSE $PKG/usr/doc/$PRGNAM-$PKGVERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$PKGVERSION/$PRGNAM.SlackBuild
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc