summaryrefslogtreecommitdiff
path: root/pcr/sddm-elogind
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/sddm-elogind')
-rw-r--r--pcr/sddm-elogind/PKGBUILD39
1 files changed, 17 insertions, 22 deletions
diff --git a/pcr/sddm-elogind/PKGBUILD b/pcr/sddm-elogind/PKGBUILD
index 70c023f10..5a58223b8 100644
--- a/pcr/sddm-elogind/PKGBUILD
+++ b/pcr/sddm-elogind/PKGBUILD
@@ -1,52 +1,44 @@
-# Maintainer (Manjaro): artoo <artoo@manjaro.org>
-# Contributor (Manjaro): Andrea Scarpino <andrea@archlinux.org>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
-
-_pkgname=sddm
+# Maintainer: David P. <megver83@parabola.nu>
+# Maintainer (Artix): artoo <artoo@manjaro.org>
+# Contributor (Arch): Andrea Scarpino <andrea@archlinux.org>
pkgname=sddm-elogind
-pkgver=0.14.0
-pkgrel=4
+pkgver=0.16.0
+pkgrel=1
pkgdesc='QML based X11 display manager'
arch=('i686' 'x86_64' 'armv7h')
url='http://github.com/sddm/sddm'
license=('GPL')
provides=('display-manager' 'sddm')
-depends=('qt5-declarative' 'elogind' 'upower' 'eudev-systemd')
+depends=('qt5-declarative' 'xorg-xauth' 'xorg-server' 'elogind' 'eudev-systemd')
makedepends=('extra-cmake-modules' 'python-docutils' 'qt5-tools')
optdepends=('displaymanager-openrc: displaymanager initscript')
conflicts=('display-manager' 'sddm' 'sddm-consolekit')
# replaces=('sddm-consolekit')
-install="${_pkgname}.install"
backup=('usr/share/sddm/scripts/Xsetup'
'etc/pam.d/sddm'
'etc/sddm.conf')
-source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/${_pkgname}/${_pkgname}/archive/v${pkgver}.tar.gz"
- "sddm-fix-avatars.patch::https://github.com/sddm/sddm/commit/ecb903e4.patch"
- 'sddm-pam.patch'
- 'sddm-enable-elogind.patch')
-sha256sums=('a551551a6ba324e9c384c89bc63e871de65fea3740eadbea2d63df86045f8205'
- 'b091f02d6d5b2ddc9d5208b17213a181c6e8deae23e5633d694119e79b66d38b'
- '151b9b4a16b919a4f3a6564b2cd794effdc07773c47f2d6b860bbd467c3e4798'
- 'cff3f483415c95784d6b9977c31b89fac734d0d74facc4ac042ed8de970d5007')
+source=("${pkgname/-*/}-${pkgver}.tar.gz::https://github.com/${pkgname/-*/}/${pkgname/-*/}/archive/v${pkgver}.tar.gz"
+ 'sddm.sysusers'
+ 'sddm.tmpfiles')
+sha512sums=('c4a8fc4cb23e61defb8ca5a48bb9354cfa694057cb6fc3697f9dcd52a24b21e9a24568ae1f54810137468f3e0b198483cbb500c11f19f654267c40053f301abc'
+ '1fbc3476034774576801d91ed8edf3c1a7f3ae59023134e10c3950e1cf9a84319bf184a1df65762d8485ee4bdecb690fbf53cbf3de98feb38c538a5439b036e0'
+ 'bb5ecdcc6cfcc6b1056a7b10b8a6f323a3e12ea5496a26d80f199a275402fd99ed0fa810fad6687407605964f980784c24082686e177063113a358e1d4220136')
prepare() {
mkdir -p build
- cd ${_pkgname}-${pkgver}
- patch -p1 -i ${srcdir}/sddm-pam.patch
- patch -p1 -i ${srcdir}/sddm-enable-elogind.patch
}
build() {
cd build
- cmake ../${_pkgname}-${pkgver} \
+ cmake ../${pkgname/-*/}-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
- -DENABLE_PAM=yes \
-DNO_SYSTEMD=yes \
-DUSE_ELOGIND=yes \
-DCMAKE_INSTALL_LIBEXECDIR=/usr/lib/sddm \
- -DDBUS_CONFIG_FILENAME=org.freedesktop.sddm.conf \
+ -DDBUS_CONFIG_FILENAME=sddm_org.freedesktop.DisplayManager.conf \
-DBUILD_MAN_PAGES=ON
make
}
@@ -54,4 +46,7 @@ build() {
package() {
cd build
make DESTDIR="${pkgdir}" install
+
+ install -Dm644 "$srcdir"/sddm.sysusers "$pkgdir"/usr/lib/sysusers.d/sddm.conf
+ install -Dm644 "$srcdir"/sddm.tmpfiles "$pkgdir"/usr/lib/tmpfiles.d/sddm.conf
}