summaryrefslogtreecommitdiff
path: root/libraries/lxqt-build-tools/lxqt-build-tools.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/lxqt-build-tools/lxqt-build-tools.SlackBuild')
-rw-r--r--libraries/lxqt-build-tools/lxqt-build-tools.SlackBuild12
1 files changed, 8 insertions, 4 deletions
diff --git a/libraries/lxqt-build-tools/lxqt-build-tools.SlackBuild b/libraries/lxqt-build-tools/lxqt-build-tools.SlackBuild
index d6fea8a716..8bebc82219 100644
--- a/libraries/lxqt-build-tools/lxqt-build-tools.SlackBuild
+++ b/libraries/lxqt-build-tools/lxqt-build-tools.SlackBuild
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM="lxqt-build-tools"
-VERSION=${VERSION:-0.4.0}
+VERSION=${VERSION:-0.5.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -73,13 +73,17 @@ find -L . \
# glib2 >= 2.50 is really needed to build all of the LXQt components, but we
# can't have them on 14.2 because we lack kde framework 5, so we force a
# lower requirement to let us use this for what we can
-sed -i "s|2\.50|2.46|" CMakeLists.txt
+sed -i "s|2\.50|2.46|" CMakeLists.txt || exit 1
+mkdir build
+cd build
cmake \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ ..
make
make install DESTDIR=$PKG
+cd ..
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