blob: 61b5a141a315b7246ad940c692b0abf09b751257 (
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
45
46
47
48
49
50
51
52
|
# $Id: PKGBUILD 98490 2013-10-11 19:21:24Z 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=3
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"
'findlightdm.patch'
'lightdm-kde-greeter.conf')
sha256sums=('65b2a1bab2c88bf55a07e62cbe0eb8ac3660638636c5825e5925b28d03f12188'
'9a042204df841f93a817c0613284bb09006e5dc4af910648025e7ab1bb56e114'
'a8fe10ef68d553781b91b1377106f95915c3ca14d835bd66910e08f922ef64c8')
prepare() {
cd lightdm-${pkgver}
patch -Np1 -i ../findlightdm.patch
}
build() {
cd lightdm-${pkgver}
if [[ -d build ]]; then
rm -rf build
fi
mkdir build && cd build
cmake .. -DCMAKE_INSTALL_PREFIX='/usr'
make
}
package() {
cd 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:
|