Browse Source

initial transfer

master
artoo 1 year ago
parent
commit
ab2b85822f
6 changed files with 112 additions and 0 deletions
  1. +53
    -0
      sddm/repos/extra-x86_64/PKGBUILD
  2. +2
    -0
      sddm/repos/extra-x86_64/sddm.sysusers
  3. +1
    -0
      sddm/repos/extra-x86_64/sddm.tmpfiles
  4. +53
    -0
      sddm/trunk/PKGBUILD
  5. +2
    -0
      sddm/trunk/sddm.sysusers
  6. +1
    -0
      sddm/trunk/sddm.tmpfiles

+ 53
- 0
sddm/repos/extra-x86_64/PKGBUILD View File

@@ -0,0 +1,53 @@
# $Id$
# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Maintainer: Antonio Rojas <arojas@archlinux.org>
# Contributor: Andrea Scarpino <andrea@archlinux.org>

pkgname=sddm
pkgver=0.18.0
pkgrel=1
pkgdesc='QML based X11 and Wayland display manager'
arch=('x86_64')
url='http://github.com/sddm/sddm'
license=('GPL')
depends=('qt5-declarative' 'xorg-xauth' 'xorg-server' 'elogind')
makedepends=('extra-cmake-modules' 'python-docutils' 'qt5-tools')
backup=('usr/share/sddm/scripts/Xsetup'
'etc/pam.d/sddm')
provides=('display-manager')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/v${pkgver}.tar.gz"
sddm.sysusers sddm.tmpfiles)
sha256sums=('9c50b6194f1b4dbf6e1a1b21f23c2c5e384871172985e192b91585986d38eec4'
'9fce66f325d170c61caed57816f4bc72e9591df083e89da114a3bb16b0a0e60f'
'db625f2a3649d6d203e1e1b187a054d5c6263cadf7edd824774d8ace52219677')

prepare() {
mkdir -p build
}

build() {
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \
-DNO_SYSTEMD=yes \
-DUSE_ELOGIND=yes \
-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

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
}

+ 2
- 0
sddm/repos/extra-x86_64/sddm.sysusers View File

@@ -0,0 +1,2 @@
u sddm - "Simple Desktop Display Manager" /var/lib/sddm
m sddm video

+ 1
- 0
sddm/repos/extra-x86_64/sddm.tmpfiles View File

@@ -0,0 +1 @@
d /var/lib/sddm 0755 sddm sddm

+ 53
- 0
sddm/trunk/PKGBUILD View File

@@ -0,0 +1,53 @@
# $Id$
# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Maintainer: Antonio Rojas <arojas@archlinux.org>
# Contributor: Andrea Scarpino <andrea@archlinux.org>

pkgname=sddm
pkgver=0.18.0
pkgrel=1
pkgdesc='QML based X11 and Wayland display manager'
arch=('x86_64')
url='http://github.com/sddm/sddm'
license=('GPL')
depends=('qt5-declarative' 'xorg-xauth' 'xorg-server' 'elogind')
makedepends=('extra-cmake-modules' 'python-docutils' 'qt5-tools')
backup=('usr/share/sddm/scripts/Xsetup'
'etc/pam.d/sddm')
provides=('display-manager')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/v${pkgver}.tar.gz"
sddm.sysusers sddm.tmpfiles)
sha256sums=('9c50b6194f1b4dbf6e1a1b21f23c2c5e384871172985e192b91585986d38eec4'
'9fce66f325d170c61caed57816f4bc72e9591df083e89da114a3bb16b0a0e60f'
'db625f2a3649d6d203e1e1b187a054d5c6263cadf7edd824774d8ace52219677')

prepare() {
mkdir -p build
}

build() {
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \
-DNO_SYSTEMD=yes \
-DUSE_ELOGIND=yes \
-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

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
}

+ 2
- 0
sddm/trunk/sddm.sysusers View File

@@ -0,0 +1,2 @@
u sddm - "Simple Desktop Display Manager" /var/lib/sddm
m sddm video

+ 1
- 0
sddm/trunk/sddm.tmpfiles View File

@@ -0,0 +1 @@
d /var/lib/sddm 0755 sddm sddm

Loading…
Cancel
Save