blob: c3e081a982bfcb9591e42d6f865013ee201a1ca3 (
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
55
56
57
|
# Maintainer: David P. <megver83@parabola.nu>
# Contributor: artoo <artoo@manjaro.org>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
_pkgname=sddm
pkgname=sddm-consolekit
pkgver=0.14.0
pkgrel=2.1
pkgdesc='QML based X11 display manager'
arch=('armv7h' 'i686' 'x86_64')
url='http://github.com/sddm/sddm'
license=('GPL')
depends=('qt5-declarative' 'dbus-openrc' 'eudev-systemd' 'consolekit')
makedepends=('extra-cmake-modules' 'python-docutils' 'qt5-tools')
install="${_pkgname}.install"
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"
"${_pkgname}-pam_kwallet.patch"
'sddm.conf'
"sddm-fix-avatars.patch::https://github.com/sddm/sddm/commit/ecb903e4.patch")
sha256sums=('a551551a6ba324e9c384c89bc63e871de65fea3740eadbea2d63df86045f8205'
'a998f8a2594cd1e81f402605f01075477a017269b0ac93a22f5faa7d355d18e0'
'dc46a0132cf0ea722a69cff45ed1ded3c93ade008e22fc90d1b797ca85ed535a'
'ffcb9885cb41da54a97f62c2538975fbb9dc80c2b58326d479a87ea0f56f02cf'
'b091f02d6d5b2ddc9d5208b17213a181c6e8deae23e5633d694119e79b66d38b')
prepare() {
mkdir -p build
cd ${_pkgname}-${pkgver}
patch -p1 -i ${srcdir}/${_pkgname}-consolekit.patch
patch -p1 -i ${srcdir}/${_pkgname}-pam_kwallet.patch
patch -p1 -i ${srcdir}/sddm-fix-avatars.patch
}
build() {
cd build
cmake ../${_pkgname}-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_LIBEXECDIR=/usr/lib/sddm \
-DDBUS_CONFIG_FILENAME=org.freedesktop.sddm.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
}
|