aboutsummaryrefslogtreecommitdiff
path: root/system/unetbootin
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-16 18:23:33 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-16 18:23:33 +0700
commit078f4a0d85853d17dfcde427eddede9c1f01a944 (patch)
treef6e21607e69d3c839d7f814b93771da73da80c64 /system/unetbootin
parentf4150bb99d2fba096909f22f7105ed2f0d338029 (diff)
system/unetbootin: Switch to Qt5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/unetbootin')
-rw-r--r--system/unetbootin/unetbootin.SlackBuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/system/unetbootin/unetbootin.SlackBuild b/system/unetbootin/unetbootin.SlackBuild
index 52e6141b19cd..031b53009217 100644
--- a/system/unetbootin/unetbootin.SlackBuild
+++ b/system/unetbootin/unetbootin.SlackBuild
@@ -69,14 +69,16 @@ 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 {} \;
-lupdate unetbootin.pro
-lrelease unetbootin.pro
-qmake -config release "DEFINES += NOSTATIC" "RESOURCES -= unetbootin.qrc"
+lupdate-qt5 unetbootin.pro
+lrelease-qt5 unetbootin.pro
+qmake-qt5 -config release "DEFINES += NOSTATIC" "RESOURCES -= unetbootin.qrc"
make
strip --strip-unneeded $PRGNAM
mkdir -p $PKG/usr/bin
cp -a $PTMP/$PRGNAM $PKG/usr/bin/$PRGNAM
+cp -a $PTMP/unetbootin_asroot $PKG/usr/bin/
+chmod 755 $PKG/usr/bin/unetbootin_asroot
mkdir -p $PKG/usr/share/applications
cp -a $PTMP/$PRGNAM.desktop $PKG/usr/share/applications/$PRGNAM.desktop