blob: 96c940bf817371d83983a2f54a69c5320b71bf1c (
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
|
# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
pkgname=light-locker-git
pkgver=1.8.0
pkgrel=1
pkgdesc='A simple session locker'
arch=('x86_64')
url='https://github.com/the-cavalry/light-locker'
license=('GPL2')
depends=('dbus-glib' 'gtk3' 'libxss' 'libxxf86misc' 'lightdm')
makedepends=('git' 'gnome-common' 'intltool')
provides=('light-locker')
conflicts=('light-locker')
source=('git+https://github.com/the-cavalry/light-locker.git')
sha256sums=('SKIP')
pkgver() {
cd light-locker
printf "%s" "$(git describe --tags | sed 's/-/.r/; s/-g/./; s/^v//')"
}
build () {
cd light-locker
./autogen.sh \
--prefix='/usr' \
--localstatedir='/var' \
--sysconfdir='/etc' \
--disable-schemas-compile \
--disable-static \
--with-{mit-ext,systemd,xf86gamma-ext,x} \
--without-{console-kit,upower}
make
}
package() {
cd light-locker
make DESTDIR="${pkgdir}" install
}
# vim: ts=2 sw=2 et:
|