blob: 4403887b8cc461bb216061b69bc355589ea95f8f (
plain) (
tree)
|
|
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=lxqt-admin
pkgver=0.14.0
pkgrel=0
pkgdesc="Administrative tools for LXQt"
url="https://lxqt.org"
arch="all"
options="!check" # No test suite.
license="LGPL-2.1+"
depends="lxqt-policykit"
makedepends="cmake extra-cmake-modules qt5-qttools-dev kwindowsystem-dev
lxqt-build-tools>=0.6.0 liblxqt-dev>=${pkgver%.*}.0 polkit-qt-1-dev"
source="https://github.com/lxqt/lxqt-admin/releases/download/$pkgver/lxqt-admin-$pkgver.tar.xz"
build() {
cd "$builddir"
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
mkdir -p build && cd build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_SHARED_LIBS=True \
-DCMAKE_BUILD_TYPE=RelWithDebugInfo \
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-DCMAKE_C_FLAGS="$CFLAGS" \
${CMAKE_CROSSOPTS} ..
make
}
package() {
cd "$builddir"/build
make DESTDIR="$pkgdir" install
}
sha512sums="d5fcf91d3af94294f586e11bd43da03a6834314099a1d258b11153a8b86c4a87908eaeb68e5cb0b2cfa111bd6f82681680ac8f82298bbf781ffc1dd6e15ae392 lxqt-admin-0.14.0.tar.xz"
|