blob: e1ac8595b3326a20ab1b772334903f253e1b6b4d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# Maintainer: David P. <megver83@parabola.nu>
# Contributor: artoo <artoo@manjaro.org>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
pkgname=sddm-consolekit
pkgver=0.16.0
pkgrel=1
pkgdesc='QML based X11 display manager'
arch=('armv7h' 'i686' 'x86_64')
url='http://github.com/sddm/sddm'
license=('GPL')
depends=('qt5-declarative' 'xorg-xauth' 'xorg-server' 'consolekit' 'eudev-systemd')
makedepends=('extra-cmake-modules' 'python-docutils' 'qt5-tools')
backup=('usr/share/sddm/scripts/Xsetup'
'etc/pam.d/sddm'
'etc/sddm.conf')
conflicts=('display-manager' 'sddm')
provides=('display-manager' 'sddm')
source=("${pkgname/-*/}-${pkgver}.tar.gz::https://github.com/${pkgname/-*/}/${pkgname/-*/}/archive/v${pkgver}.tar.gz"
"${pkgname/-*/}-consolekit.patch"
'sddm.conf'
'sddm.sysusers'
'sddm.tmpfiles')
sha512sums=('c4a8fc4cb23e61defb8ca5a48bb9354cfa694057cb6fc3697f9dcd52a24b21e9a24568ae1f54810137468f3e0b198483cbb500c11f19f654267c40053f301abc'
'aa53338c3e154982388b2e98101cd49e607f1744acee28f46892e3a6848f06de4ba8a8bf204128da1a7b22df9efe5d95bb6ac1cd5dedb8a301f8587af381253a'
'dcd89ed3b8849438921529b99cb14644f56ddf9200b1de9f7242d65bc171f6ba573a636e4eeb6b2077cea63b961ce3e7e4c7013731057218657f13baab3e52e4'
'1fbc3476034774576801d91ed8edf3c1a7f3ae59023134e10c3950e1cf9a84319bf184a1df65762d8485ee4bdecb690fbf53cbf3de98feb38c538a5439b036e0'
'bb5ecdcc6cfcc6b1056a7b10b8a6f323a3e12ea5496a26d80f199a275402fd99ed0fa810fad6687407605964f980784c24082686e177063113a358e1d4220136')
prepare() {
mkdir -p build
cd ${pkgname/-*/}-${pkgver}
patch -p1 -i ${srcdir}/${pkgname/-*/}-consolekit.patch
}
build() {
cd build
cmake ../${pkgname/-*/}-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_LIBEXECDIR=/usr/lib/sddm \
-DDBUS_CONFIG_FILENAME=sddm_org.freedesktop.DisplayManager.conf \
-DBUILD_MAN_PAGES=ON
make
}
package() {
cd build
make DESTDIR="${pkgdir}" install
# sed -e 's|pam_systemd.so|pam_ck_connector.so nox11|' -i ${pkgdir}/etc/pam.d/sddm-greeter
install -m 755 ${srcdir}/sddm.conf ${pkgdir}/etc
install -Dm644 "$srcdir"/sddm.sysusers "$pkgdir"/usr/lib/sysusers.d/sddm.conf
install -Dm644 "$srcdir"/sddm.tmpfiles "$pkgdir"/usr/lib/tmpfiles.d/sddm.conf
}
|