blob: 3f05903f78ecacc18d9a58da9bbfb4b4b2f01b89 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# $Id: PKGBUILD 86258 2013-03-14 11:40:16Z 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.1
pkgrel=2
pkgdesc="KDE greeter for LightDM"
arch=('i686' 'x86_64' 'mips64el')
url="https://projects.kde.org/projects/playground/base/lightdm"
license=('GPL')
depends=('kdelibs' '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=('855cffaccc6500e25016e104cd593189cad9aa88ee34f237b01964fce1bcfcf9'
'a8fe10ef68d553781b91b1377106f95915c3ca14d835bd66910e08f922ef64c8')
build() {
cd "${srcdir}"/lightdm-${pkgver}
# Build
if [[ -d build ]]; then
rm -rf build
fi
mkdir build && cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd "${srcdir}"/lightdm-${pkgver}/build
# Install
make DESTDIR="${pkgdir}" install
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:
|