aboutsummaryrefslogtreecommitdiff
path: root/libraries/qt6gtk2/qt6gtk2.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/qt6gtk2/qt6gtk2.SlackBuild')
-rw-r--r--libraries/qt6gtk2/qt6gtk2.SlackBuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/libraries/qt6gtk2/qt6gtk2.SlackBuild b/libraries/qt6gtk2/qt6gtk2.SlackBuild
index dedc1d5735..4d1b998df5 100644
--- a/libraries/qt6gtk2/qt6gtk2.SlackBuild
+++ b/libraries/qt6gtk2/qt6gtk2.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for qt6gtk2
-# Copyright 2024 Isaac Yu <isaacyu@protonmail.com>
+# Copyright 2024-2025 Isaac Yu <isaacyu@protonmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=qt6gtk2
-VERSION=${VERSION:-0.3}
+VERSION=${VERSION:-0.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -67,7 +67,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -76,11 +76,14 @@ 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 {} \;
+# source manually
+. /etc/profile.d/qt6.sh
+
QMAKE_CFLAGS_RELEASE="$SLKCFLAGS" \
QMAKE_CXXFLAGS_RELEASE="$SLKCFLAGS" \
PREFIX=/usr \
LIBDIR=/usr/lib${LIBDIRSUFFIX} \
-qmake-qt6
+qmake6
make
make install INSTALL_ROOT=$PKG