[arch-commits] Commit in sddm/repos (6 files)
Felix Yan
fyan at archlinux.org
Tue Sep 8 06:50:49 UTC 2015
Date: Tuesday, September 8, 2015 @ 08:50:49
Author: fyan
Revision: 245512
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
sddm/repos/testing-i686/
sddm/repos/testing-i686/PKGBUILD
(from rev 245511, sddm/trunk/PKGBUILD)
sddm/repos/testing-i686/sddm.install
(from rev 245511, sddm/trunk/sddm.install)
sddm/repos/testing-x86_64/
sddm/repos/testing-x86_64/PKGBUILD
(from rev 245511, sddm/trunk/PKGBUILD)
sddm/repos/testing-x86_64/sddm.install
(from rev 245511, sddm/trunk/sddm.install)
-----------------------------+
testing-i686/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
testing-i686/sddm.install | 24 ++++++++++++++++++++++++
testing-x86_64/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
testing-x86_64/sddm.install | 24 ++++++++++++++++++++++++
4 files changed, 124 insertions(+)
Copied: sddm/repos/testing-i686/PKGBUILD (from rev 245511, sddm/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2015-09-08 06:50:49 UTC (rev 245512)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=sddm
+pkgver=0.12.0
+pkgrel=1
+pkgdesc='QML based X11 display manager'
+arch=('i686' 'x86_64')
+url='http://github.com/sddm/sddm'
+license=('GPL')
+depends=('qt5-declarative')
+makedepends=('cmake' 'python-docutils' 'qt5-tools')
+install="${pkgname}.install"
+backup=('usr/share/sddm/scripts/Xsetup')
+provides=('display-manager')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/v${pkgver}.tar.gz")
+md5sums=('e3261ac93a50c71c973cc79b85387765')
+
+prepare() {
+ mkdir -p build
+}
+
+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
+}
Copied: sddm/repos/testing-i686/sddm.install (from rev 245511, sddm/trunk/sddm.install)
===================================================================
--- testing-i686/sddm.install (rev 0)
+++ testing-i686/sddm.install 2015-09-08 06:50:49 UTC (rev 245512)
@@ -0,0 +1,24 @@
+post_install() {
+ if ! getent group sddm > /dev/null; then
+ groupadd --system sddm
+ fi
+ if ! getent passwd sddm > /dev/null; then
+ useradd -c "Simple Desktop Display Manager" --system -d /var/lib/sddm -s /usr/bin/nologin -g sddm sddm
+ passwd -l sddm > /dev/null
+ fi
+ mkdir -p /var/lib/sddm
+ chown -R sddm:sddm /var/lib/sddm > /dev/null
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ if getent passwd sddm >/dev/null; then
+ userdel sddm
+ fi
+ if getent group sddm >/dev/null; then
+ groupdel sddm
+ fi
+}
Copied: sddm/repos/testing-x86_64/PKGBUILD (from rev 245511, sddm/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2015-09-08 06:50:49 UTC (rev 245512)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=sddm
+pkgver=0.12.0
+pkgrel=1
+pkgdesc='QML based X11 display manager'
+arch=('i686' 'x86_64')
+url='http://github.com/sddm/sddm'
+license=('GPL')
+depends=('qt5-declarative')
+makedepends=('cmake' 'python-docutils' 'qt5-tools')
+install="${pkgname}.install"
+backup=('usr/share/sddm/scripts/Xsetup')
+provides=('display-manager')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/v${pkgver}.tar.gz")
+md5sums=('e3261ac93a50c71c973cc79b85387765')
+
+prepare() {
+ mkdir -p build
+}
+
+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
+}
Copied: sddm/repos/testing-x86_64/sddm.install (from rev 245511, sddm/trunk/sddm.install)
===================================================================
--- testing-x86_64/sddm.install (rev 0)
+++ testing-x86_64/sddm.install 2015-09-08 06:50:49 UTC (rev 245512)
@@ -0,0 +1,24 @@
+post_install() {
+ if ! getent group sddm > /dev/null; then
+ groupadd --system sddm
+ fi
+ if ! getent passwd sddm > /dev/null; then
+ useradd -c "Simple Desktop Display Manager" --system -d /var/lib/sddm -s /usr/bin/nologin -g sddm sddm
+ passwd -l sddm > /dev/null
+ fi
+ mkdir -p /var/lib/sddm
+ chown -R sddm:sddm /var/lib/sddm > /dev/null
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ if getent passwd sddm >/dev/null; then
+ userdel sddm
+ fi
+ if getent group sddm >/dev/null; then
+ groupdel sddm
+ fi
+}
More information about the arch-commits
mailing list