summaryrefslogtreecommitdiff
path: root/user/lxqt-session/APKBUILD
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2017-10-12 15:56:18 +0000
committerKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2017-10-12 15:56:18 +0000
commitff528c6941906ed42c3a07b4ac417d0eb8ce80a9 (patch)
tree0bb31e600db59985ac90ab8994e7c97f1e5c6ceb /user/lxqt-session/APKBUILD
parent98c96fe57a2b18b7058f4839d5eeb9ef0f4977d7 (diff)
downloadpackages-ff528c6941906ed42c3a07b4ac417d0eb8ce80a9.tar.gz
packages-ff528c6941906ed42c3a07b4ac417d0eb8ce80a9.tar.bz2
packages-ff528c6941906ed42c3a07b4ac417d0eb8ce80a9.tar.xz
packages-ff528c6941906ed42c3a07b4ac417d0eb8ce80a9.zip
user/lxqt-session: new package
Diffstat (limited to 'user/lxqt-session/APKBUILD')
-rw-r--r--user/lxqt-session/APKBUILD45
1 files changed, 45 insertions, 0 deletions
diff --git a/user/lxqt-session/APKBUILD b/user/lxqt-session/APKBUILD
new file mode 100644
index 000000000..e70853245
--- /dev/null
+++ b/user/lxqt-session/APKBUILD
@@ -0,0 +1,45 @@
+# 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"