diff options
author | David P <megver83@parabola.nu> | 2020-05-29 01:26:13 -0400 |
---|---|---|
committer | David P <megver83@parabola.nu> | 2020-05-29 01:26:13 -0400 |
commit | 998c38f039a6d3d5556d523c2f36c13f44b8afb3 (patch) | |
tree | f1ead59906b135175d7e3e2c131f138bec0eb8df | |
parent | b14f777b597cb7318336cf00c830cf041580f551 (diff) | |
download | abslibre-998c38f039a6d3d5556d523c2f36c13f44b8afb3.tar.gz abslibre-998c38f039a6d3d5556d523c2f36c13f44b8afb3.tar.bz2 abslibre-998c38f039a6d3d5556d523c2f36c13f44b8afb3.zip |
addpkg: nonsystemd/sddm 0.18.1-1.nonsystemd1
Signed-off-by: David P <megver83@parabola.nu>
-rw-r--r-- | nonsystemd/sddm/PKGBUILD | 62 | ||||
-rw-r--r-- | nonsystemd/sddm/sddm.sysusers | 2 | ||||
-rw-r--r-- | nonsystemd/sddm/sddm.tmpfiles | 1 |
3 files changed, 65 insertions, 0 deletions
diff --git a/nonsystemd/sddm/PKGBUILD b/nonsystemd/sddm/PKGBUILD new file mode 100644 index 000000000..47e1389aa --- /dev/null +++ b/nonsystemd/sddm/PKGBUILD @@ -0,0 +1,62 @@ +# Maintainer: David P. <megver83@parabola.nu> +# Maintainer (Arch): Felix Yan <felixonmars@archlinux.org> +# Maintainer (Arch): Antonio Rojas <arojas@archlinux.org> +# Contributor (Arch): Andrea Scarpino <andrea@archlinux.org> + +pkgname=sddm +pkgver=0.18.1 +pkgrel=1 +pkgrel+=.nonsystemd1 +pkgdesc='QML based X11 and Wayland display manager' +arch=('x86_64') +arch+=('i686' 'armv7h') +url='http://github.com/sddm/sddm' +license=('GPL') +depends=('qt5-declarative' 'xorg-xauth' 'xorg-server' 'elogind') +makedepends=('extra-cmake-modules' 'python-docutils' 'qt5-tools') +makedepends+=('pcre2') +backup=('usr/share/sddm/scripts/Xsetup' + 'usr/share/sddm/scripts/Xstop' + 'etc/pam.d/sddm' + 'etc/pam.d/sddm-autologin' + 'etc/pam.d/sddm-greeter') +provides=('display-manager' 'sddm-elogind') +replaces=('sddm-elogind') +conflicts=(${replaces[@]}) +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/v${pkgver}.tar.gz" + sddm.sysusers sddm.tmpfiles) +sha256sums=('07296fc747010a5dd58a45f16c3224b439997afad42566e4b043c841b1b71700' + '9fce66f325d170c61caed57816f4bc72e9591df083e89da114a3bb16b0a0e60f' + 'db625f2a3649d6d203e1e1b187a054d5c6263cadf7edd824774d8ace52219677') + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake ../${pkgname}-${pkgver} \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBEXECDIR=/usr/lib/sddm \ + -DDBUS_CONFIG_DIR=/usr/share/dbus-1/system.d \ + -DDBUS_CONFIG_FILENAME=sddm_org.freedesktop.DisplayManager.conf \ + -DUSE_ELOGIND=yes \ + -DNO_SYSTEMD=yes \ + -DBUILD_MAN_PAGES=ON + make +} + +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 + + install -d "$pkgdir"/usr/lib/sddm/sddm.conf.d + "$pkgdir"/usr/bin/sddm --example-config > "$pkgdir"/usr/lib/sddm/sddm.conf.d/default.conf +# Don't set PATH in sddm.conf + sed -r 's|DefaultPath=.*|DefaultPath=/usr/local/sbin:/usr/local/bin:/usr/bin|g' -i "$pkgdir"/usr/lib/sddm/sddm.conf.d/default.conf +# Unset InputMethod https://github.com/sddm/sddm/issues/952 + sed -e "/^InputMethod/s/qtvirtualkeyboard//" -i "$pkgdir"/usr/lib/sddm/sddm.conf.d/default.conf +} diff --git a/nonsystemd/sddm/sddm.sysusers b/nonsystemd/sddm/sddm.sysusers new file mode 100644 index 000000000..e56e07d7d --- /dev/null +++ b/nonsystemd/sddm/sddm.sysusers @@ -0,0 +1,2 @@ +u sddm - "Simple Desktop Display Manager" /var/lib/sddm +m sddm video diff --git a/nonsystemd/sddm/sddm.tmpfiles b/nonsystemd/sddm/sddm.tmpfiles new file mode 100644 index 000000000..300d64613 --- /dev/null +++ b/nonsystemd/sddm/sddm.tmpfiles @@ -0,0 +1 @@ +d /var/lib/sddm 0755 sddm sddm |