1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=ukui-session-manager
6 pkgdesc="Session manager of the UKUI desktop environment"
9 url="https://github.com/ukui/ukui-session-manager"
11 depends=('kidletime' 'peony' 'qt5-multimedia' 'qt5-ukui-platformtheme' 'ukui-biometric-auth'
12 'ukui-panel' 'ukui-settings-daemon' 'ukui-screensaver' 'ukwm' 'xtrans')
13 makedepends=('cmake' 'ninja' 'qt5-tools')
14 source=("$pkgname-$pkgver.tar.gz::https://github.com/ukui/ukui-session-manager/archive/v$pkgver.tar.gz")
15 sha512sums=('9a14d9b16d3bc470a5b6f64720155abcbcc8bc4581b4f8b3df508166d9059cac6c664accfa3609ea5913a6683fe3624b81cb9143738a09895f4de5c41a429c94')
19 sed -i '/#include <QString>/i #include <QFile>' $pkgname-$pkgver/tools/main.cpp
24 cmake ../$pkgname-$pkgver \
25 -GNinja -DCMAKE_INSTALL_PREFIX=/usr
31 DESTDIR="$pkgdir" ninja install