void-packages/srcpkgs/lightdm-kde-greeter/template

27 lines
998 B
Bash

# Template file for 'lightdm-kde-greeter'
pkgname=lightdm-kde-greeter
version=0.3.2.2
revision=4
wrksrc="lightdm-0.3.2.1"
build_style=cmake
hostmakedepends="automoc4 qt-qmake perl pkg-config"
makedepends="kdelibs-devel qt-devel phonon-devel lightdm-devel"
depends="lightdm"
conf_files="
/etc/lightdm/lightdm-kde-greeter.conf
/etc/dbus-1/system.d/org.kde.kcontrol.kcmlightdm.conf"
short_desc="Light Display Manager greeter for KDE (QT 4.x)"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3, LGPL-3"
homepage="https://projects.kde.org/projects/playground/base/lightdm"
distfiles="http://download.kde.org/unstable/${pkgname%-*}/src/${pkgname%%-*}-${version}.tar.bz2"
checksum=7948ef6a5f6639abd61be02cbdf886823b0d227b4411361737d1a44cca606b09
post_install() {
vmkdir usr/bin
mv ${DESTDIR}/usr/sbin/* ${DESTDIR}/usr/bin
vmkdir etc/lightdm
echo "[greeter]" >> ${DESTDIR}/etc/lightdm/lightdm-kde-greeter.conf
echo "theme-name=classic" >> ${DESTDIR}/etc/lightdm/lightdm-kde-greeter.conf
}