PKGBUILDs/extra/lightdm-gtk-greeter/PKGBUILD

56 lines
1.4 KiB
Bash
Raw Normal View History

2017-10-30 02:54:14 +00:00
# $Id$
# Maintainer: Maxime Gauduin <alucrydarchlinux.org>
# Contributor: Padfoot <padfoot@exemail.com.au>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - patch from Fedora to fix ARM FTBFS
pkgname=lightdm-gtk-greeter
2018-03-26 23:08:46 +00:00
pkgver=2.0.5
2017-10-30 02:54:14 +00:00
pkgrel=1
epoch=1
pkgdesc='GTK+ greeter for LightDM'
2018-02-24 06:41:33 +00:00
arch=('x86_64')
2017-10-30 02:54:14 +00:00
url='https://launchpad.net/lightdm-gtk-greeter'
license=('GPL3' 'LGPL3')
depends=('gtk3' 'lightdm')
makedepends=('exo' 'gobject-introspection' 'intltool')
replaces=('lightdm-gtk2-greeter' 'lightdm-gtk3-greeter')
backup=('etc/lightdm/lightdm-gtk-greeter.conf')
source=("https://launchpad.net/lightdm-gtk-greeter/${pkgver%.?}/${pkgver}/+download/lightdm-gtk-greeter-${pkgver}.tar.gz"
'fix_arm_compile.patch')
2018-03-26 23:08:46 +00:00
sha256sums=('5dc608d58ff9d15117c9d99b55e5f038d39e2f1691f03ce1dc1c8881560387df'
2017-10-30 02:54:14 +00:00
'bb9f6f0dbca0828076e556a2c2fa1c62c0237d7b6569c6a73e2d0c4269ffcbab')
prepare() {
cd lightdm-gtk-greeter-${pkgver}
patch -p1 -i ../fix_arm_compile.patch
}
build() {
cd lightdm-gtk-greeter-${pkgver}
export CFLAGS="$CFLAGS -Wno-declaration-after-statement"
./configure \
--prefix='/usr' \
--libexecdir='/usr/lib/lightdm' \
--sbindir='/usr/bin' \
--sysconfdir='/etc' \
--with-libxklavier \
--enable-kill-on-sigterm \
--disable-libido \
--disable-libindicator \
--disable-static
make
}
package() {
cd lightdm-gtk-greeter-${pkgver}
make DESTDIR="${pkgdir}" install
}
# vim: ts=2 sw=2 et: