summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c2705e2308e0d747917178e324aeaeac83735ff3 (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
53
54
55
56
57
58
59
60
61
62
# Maintainer: Pezcurrel <pezcurrel@tiscali.it>
# Contributor: Pezcurrel <pezcurrel@tiscali.it>
# Maintainer: Maxime Gauduin <alucrydarchlinux.org>
# Contributor: Padfoot <padfoot@exemail.com.au>

pkgname=lightdm-gtk-greeter-cancellable-autologin
pkgver=2.0.9
pkgrel=4
epoch=1
pkgdesc='GTK+ greeter for LightDM with cancellable autologin patch'
arch=(x86_64)
_repodir=lightdm-gtk-greeter-with-cancellable-autologin
url=https://github.com/pezcurrel/${_repodir}
license=(
  GPL3
  LGPL3
)
depends=(
  gtk3
  lightdm
)
makedepends=(
  exo
  git
  gobject-introspection
  intltool
  xfce4-dev-tools
)
_tag=lightdm-gtk-greeter-2.0.9-cancellable-autologin-2
provides=('lightdm-gtk-greeter')
conflicts=('lightdm-gtk-greeter' 'lightdm-gtk-greeter-git')
backup=(etc/lightdm/lightdm-gtk-greeter.conf)
source=(git+${url}.git#tag=${_tag})
sha256sums=(SKIP)

prepare() {
  cd ${_repodir}
  NOCONFIGURE=1 ./autogen.sh
}

build() {
  cd ${_repodir}
  ./configure \
    --prefix=/usr \
    --libexecdir=/usr/lib/lightdm \
    --sbindir=/usr/bin \
    --sysconfdir=/etc \
    --with-libxklavier \
    --enable-kill-on-sigterm \
    --disable-at-spi-command \
    --disable-indicator-services-command \
    --disable-libido \
    --disable-libindicator \
    --disable-static
  make
}

package() {
  make DESTDIR="${pkgdir}" -C ${_repodir} install
}

# vim: ts=2 sw=2 et: