adding lightdm-gtk-greeter to aur

This commit is contained in:
xenoxaos 2012-09-30 22:56:55 -04:00
parent 9f798a60f8
commit 14d73c78e4
3 changed files with 84 additions and 0 deletions

View file

@ -0,0 +1,45 @@
# Maintainer: Padfoot <padfoot at exemail dot com dot au>
pkgname=lightdm-gtk-greeter
pkgver=1.3.1
pkgrel=1
pkgdesc="GTK+ greeter for LightDM"
arch=('i686'
'x86_64')
url="https://launchpad.net/lightdm-gtk-greeter"
license=('GPL3'
'LGPL3')
depends=('lightdm'
'gtk3')
makedepends=('gtk-doc'
'gnome-common'
'gnome-doc-utils'
'gobject-introspection'
'intltool')
conflicts=('lightdm-gtk-greeter-osk'
'lightdm-gtk-greeter-bzr')
backup=('etc/lightdm/lightdm-gtk-greeter.conf')
install='lightdm-gtk-greeter.install'
source=("https://launchpad.net/$pkgname/1.4/$pkgver/+download/$pkgname-$pkgver.tar.gz"
"lightdm-gtk-greeter.conf")
md5sums=('f7e05d1057afb7728197f11c328d4ba2'
'ca8634dfc2cc8a78546eaf27e95810f2')
build() {
cd "$srcdir/$pkgname-$pkgver"
./autogen.sh --prefix=/usr \
--sysconfdir=/etc \
--libexecdir=/usr/lib/lightdm \
--disable-static
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="${pkgdir}" install
cp ../lightdm-gtk-greeter.conf $pkgdir/etc/lightdm
}

View file

@ -0,0 +1,25 @@
#
# logo = Logo file to use, either an image absolute path, or a path relative to the greeter data directory
# background = Background file to use, either an image path or a color (e.g. #772953)
# theme-name = GTK+ theme to use
# icon-theme-name = Icon theme to use
# font-name = Font to use
# cursor-name = Cursor theme to use
# xft-antialias = Whether to antialias Xft fonts (true or false)
# xft-dpi = Resolution for Xft in dots per inch (e.g. 96)
# xft-hintstyle = What degree of hinting to use (hintnone, hintslight, hintmedium, or hintfull)
# xft-rgba = Type of subpixel antialiasing (none, rgb, bgr, vrgb or vbgr)
# show-language-selector (true or false)
#
[greeter]
#logo=
background=#000000
theme-name=default
icon-theme-name=default
font-name=Sans Regular 11
cursor-name=default
xft-antialias=true
xft-dpi=96
xft-hintstyle=slight
xft-rgba=rgb
show-language-selector=true

View file

@ -0,0 +1,14 @@
_install_notes() {
echo
echo 'Theme lightdm-gtk-greeter by editing /etc/lightdm/lighdm-gtk-greeter.conf'
echo
}
post_install() {
_install_notes
}
post_upgrade() {
_install_notes
}