blob: e708532456df1fbdf29604144ee318867d8eb487 (
plain) (
tree)
|
|
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=lxqt-session
pkgver=0.11.1
pkgrel=0
pkgdesc="Session management utilities for LXQt"
url="http://lxqt.org"
arch="all"
license="LGPL-2.1+"
depends="xdg-user-dirs"
depends_dev=""
makedepends="cmake extra-cmake-modules lxqt-build-tools liblxqt-dev eudev-dev qt5-qttools-dev kwindowsystem-dev $depends_dev"
install=""
subpackages="$pkgname-doc"
source="https://github.com/lxde/lxqt-session/releases/download/$pkgver/lxqt-session-$pkgver.tar.xz"
builddir="$srcdir/lxqt-session-$pkgver"
build() {
cd "$builddir"
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=RelWithDebugInfo \
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-DCMAKE_C_FLAGS="$CFLAGS" \
-DPULL_TRANSLATIONS=False \
${CMAKE_CROSSOPTS}
make
}
check() {
cd "$builddir"
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="0ce9adc1210f457e11466ddc4b4d6197534512721f6b2bcc25dd2b384a21a0ca723eab66bcc9f9bbb6efc377a12954d74f2e7bfa32b4a333788a89048d077776 lxqt-session-0.11.1.tar.xz"
|