diff options
author | Antoni Aloy Torrens <aaloytorrens@gmail.com> | 2021-02-12 02:37:28 +0100 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2021-03-21 07:10:41 +0000 |
commit | 7f210d8e426ba6addd15a5bc43a176a361b6b0fa (patch) | |
tree | 1a9d3c2a886d2bebcb2a07fb05f028c1699a3e89 | |
parent | 220d25044e84c20b9dc916f1214ff5124f8fa65d (diff) |
testing/lxqt-admin: new aport
-rw-r--r-- | testing/lxqt-admin/APKBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/lxqt-admin/APKBUILD b/testing/lxqt-admin/APKBUILD new file mode 100644 index 00000000000..1ce93d4f7cc --- /dev/null +++ b/testing/lxqt-admin/APKBUILD @@ -0,0 +1,32 @@ +# 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" |