# Contributor: Carlo Landmeter # Maintainer: pkgname=lxqt-build-tools pkgver=0.6.0 pkgrel=0 pkgdesc="Various packaging tools and scripts for LXQt applications" url="https://lxqt.org/" options="!check" # No testsuite arch="noarch" license="BSD-3-Clause" makedepends="cmake qt5-qtbase-dev glib-dev" source="https://github.com/lxde/lxqt-build-tools/releases/download/$pkgver/lxqt-build-tools-$pkgver.tar.xz" build() { mkdir build cd build if [ "$CBUILD" != "$CHOST" ]; then CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux \ -DCMAKE_HOST_SYSTEM_NAME=Linux" fi cmake .. \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_SHARED_LIBS=True \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ -DCMAKE_C_FLAGS="$CFLAGS" \ ${CMAKE_CROSSOPTS} make } package() { make -C build DESTDIR="$pkgdir" install } sha512sums="f95c47d40f26defa8bc4e13a0449428945c282cb5e2201610e9529bfd5154a438ee9dcc4f556bd76efe13b97533bbed2f49ab5c100225907781093094a692227 lxqt-build-tools-0.6.0.tar.xz"