# Maintainer: Antoni Aloy pkgname=lxqt-about pkgver=1.3.0 pkgrel=0 pkgdesc="Information provider about LXQt and the system" url="https://github.com/lxqt/lxqt-about" arch="all !armhf" # armhf blocked by liblxqt and kwindowsystem license="LGPL-2.0-or-later" makedepends=" cmake samurai lxqt-build-tools liblxqt-dev kwindowsystem-dev qt5-qttools-dev " subpackages="$pkgname-lang" options="!check" # No testsuite source="https://github.com/lxqt/lxqt-about/releases/download/$pkgver/lxqt-about-$pkgver.tar.xz" build() { if [ "$CBUILD" != "$CHOST" ]; then CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux" fi cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_SHARED_LIBS=True \ $CMAKE_CROSSOPTS . cmake --build build } package() { DESTDIR="$pkgdir" cmake --build build --target install } lang() { install_if="lang $pkgname=$pkgver-r$pkgrel" amove usr/share/lxqt/translations/$pkgname } sha512sums=" 31a96a4f2ea4961b89b9080188bd8a9fa5f304868a2ab0b96aa9821de88a9aaebf64a8257cbdd8427f4c025045dc7a13602b35311ab96b9b8297c43d5bb92bf7 lxqt-about-1.3.0.tar.xz "