summaryrefslogtreecommitdiff
path: root/libraries/lxqt-build-tools
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2018-06-06 19:22:54 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-06-09 07:15:33 +0700
commit690cfb4fec2e88f73f598eb6e77ed5e0a852afae (patch)
treeeb64a63d7d49cb257c6db850f2145db630f6c9ff /libraries/lxqt-build-tools
parent5f84450ac850b07c448fea87efc1c3352a6b03c1 (diff)
downloadslackbuilds-690cfb4fec2e88f73f598eb6e77ed5e0a852afae.tar.gz
libraries/lxqt-build-tools: Updated for version 0.5.0.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/lxqt-build-tools')
-rw-r--r--libraries/lxqt-build-tools/lxqt-build-tools.SlackBuild12
-rw-r--r--libraries/lxqt-build-tools/lxqt-build-tools.info6
2 files changed, 11 insertions, 7 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
diff --git a/libraries/lxqt-build-tools/lxqt-build-tools.info b/libraries/lxqt-build-tools/lxqt-build-tools.info
index f65d9bf739..1ba09c6f1c 100644
--- a/libraries/lxqt-build-tools/lxqt-build-tools.info
+++ b/libraries/lxqt-build-tools/lxqt-build-tools.info
@@ -1,8 +1,8 @@
PRGNAM="lxqt-build-tools"
-VERSION="0.4.0"
+VERSION="0.5.0"
HOMEPAGE="https://github.com/lxde/lxqt-build-tools"
-DOWNLOAD="https://github.com/lxde/lxqt-build-tools/archive/0.4.0/lxqt-build-tools-0.4.0.tar.gz"
-MD5SUM="7e96d45a0f95cc2f67687dd0aa7fbf20"
+DOWNLOAD="https://github.com/lxde/lxqt-build-tools/archive/0.5.0/lxqt-build-tools-0.5.0.tar.gz"
+MD5SUM="19e6562e9cc7816ab36396a5cd7e96ee"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="qt5"