Skip to content
Snippets Groups Projects
Commit 7f210d8e authored by Antoni Aloy Torrens's avatar Antoni Aloy Torrens Committed by Leo
Browse files

testing/lxqt-admin: new aport

parent 220d2504
No related branches found
No related tags found
1 merge request!18083testing/lxqt-desktop: new aport
# Maintainer: Antoni Aloy <aaloytorrens@gmail.com>
pkgname=lxqt-admin
pkgver=0.16.0
pkgrel=0
pkgdesc="LXQt system administration tool"
url="https://github.com/lxqt/lxqt-admin"
arch="all !armhf !s390x" # armhf blocked by liblxqt and kwindowsystem, s390x blocked by polkit-qt
license="LGPL-2.0-or-later"
makedepends="
cmake lxqt-build-tools liblxqt-dev kwindowsystem-dev
polkit-qt-1-dev qt5-qttools-dev
"
options="!check" # No testsuite
source="https://github.com/lxqt/lxqt-admin/releases/download/$pkgver/lxqt-admin-$pkgver.tar.xz"
build() {
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
cmake -B build \
-DCMAKE_BUILD_TYPE=None \
-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
}
sha512sums="ed61e886a52985f67c38d39d949fabbd5532ebf61f232d4d2accf144b8fc650f85457e0e8b6066fad3f914ad61f8b1779360c886d3622c09765e421dfcea2484 lxqt-admin-0.16.0.tar.xz"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment