blob: 77b9d6b01274214f55d6a2f63fec9a67205f4e22 (
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
|
# Maintainer: Brian Bidulock <bidulock@openss7.org>
pkgname=slim-xdm
_pkgname=slim
pkgver=1.3.6.30
pkgrel=2
pkgdesc="Desktop-independent graphical login manager for X11 with XDM support"
arch=('i686' 'x86_64')
#url="http://slim.berlios.de/"
url="https://github.com/bbidulock/slim"
license=('GPL2')
depends=('libjpeg' 'libxft' 'libxrandr' 'xorg-xauth')
provides=("${_pkgname}=${pkgver}")
conflicts=($_pkgname)
makedepends=('git' 'cmake' 'freeglut')
backup=('etc/slim.conf' 'etc/pam.d/slim' 'etc/pam.d/slim-greeter'
'etc/pam.d/slim-autologin' 'etc/slimlock.conf')
source=($pkgname::git://github.com/bbidulock/$_pkgname.git)
sha256sums=('SKIP')
pkgver() {
cd $pkgname
git describe --tags | sed 's|v||;s|-|.|g;s|[.]g[a-f0-9]*$||'
}
build() {
cd $pkgname
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=ON \
-DUSE_PAM=yes \
-DUSE_CONSOLEKIT=no
make
}
package() {
cd $pkgname
make DESTDIR="$pkgdir" install
install -Dm644 pam.sample "$pkgdir/etc/pam.d/slim"
install -Dm644 pam-greeter.sample "$pkgdir/etc/pam.d/slim-greeter"
install -Dm644 pam-autologin.sample "$pkgdir/etc/pam.d/slim-autologin"
}
# vim:set ts=2 sw=2 et:
|