diff options
author | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
commit | 7a65a910b77ad191d69881098c47f9b0c852d92e (patch) | |
tree | 9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/lightdm-kde-greeter | |
parent | 60da6abff6c9577a783d72865f11de7a585e912e (diff) |
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/lightdm-kde-greeter')
-rwxr-xr-x | community/lightdm-kde-greeter/PKGBUILD | 44 | ||||
-rwxr-xr-x | community/lightdm-kde-greeter/lightdm-kde-greeter.conf | 2 |
2 files changed, 46 insertions, 0 deletions
diff --git a/community/lightdm-kde-greeter/PKGBUILD b/community/lightdm-kde-greeter/PKGBUILD new file mode 100755 index 000000000..8954c1d66 --- /dev/null +++ b/community/lightdm-kde-greeter/PKGBUILD @@ -0,0 +1,44 @@ +# $Id: PKGBUILD 90484 2013-05-12 21:57:59Z alucryd $ +# Maintainer: Maxime Gauduin <alucryd@gmail.com> +# Contributor: Massimiliano Torromeo <massimiliano.torromeo@gmail.com> +# Contributor: Mladen Pejakovic <pejakm@gmail.com> +# Contributor: Xiao-Long Chen <chenxiaolong@cxl.epac.to> + +pkgname=lightdm-kde-greeter +pkgver=0.3.2.1 +pkgrel=2 +pkgdesc="KDE greeter for LightDM" +arch=('i686' 'x86_64') +url="https://projects.kde.org/projects/playground/base/lightdm" +license=('GPL') +depends=('kdebase-runtime' 'liblightdm-qt4') +makedepends=('cmake' 'automoc4') +backup=('etc/lightdm/lightdm-kde-greeter.conf' + 'etc/dbus-1/system.d/org.kde.kcontrol.kcmlightdm.conf') +source=("ftp://ftp.kde.org/pub/kde/unstable/${pkgname%-*}/src/${pkgname%-*}-${pkgver}.tar.bz2" + 'lightdm-kde-greeter.conf') +sha256sums=('65b2a1bab2c88bf55a07e62cbe0eb8ac3660638636c5825e5925b28d03f12188' + 'a8fe10ef68d553781b91b1377106f95915c3ca14d835bd66910e08f922ef64c8') + +build() { + cd "${srcdir}"/lightdm-${pkgver} + + if [[ -d build ]]; then + rm -rf build + fi + mkdir build && cd build + + cmake .. -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd "${srcdir}"/lightdm-${pkgver}/build + + make DESTDIR="${pkgdir}" install + mv "${pkgdir}"/usr/{sbin,bin} + install -dm 755 "${pkgdir}"/etc/lightdm + install -m 644 ../../lightdm-kde-greeter.conf "${pkgdir}"/etc/lightdm/lightdm-kde-greeter.conf +} + +# vim ts=2 sw=2 et: diff --git a/community/lightdm-kde-greeter/lightdm-kde-greeter.conf b/community/lightdm-kde-greeter/lightdm-kde-greeter.conf new file mode 100755 index 000000000..09c4ad281 --- /dev/null +++ b/community/lightdm-kde-greeter/lightdm-kde-greeter.conf @@ -0,0 +1,2 @@ +[greeter] +theme-name=classic |