Skip to content
This repository has been archived by the owner on Jun 6, 2018. It is now read-only.

Commit

Permalink
add light-locker-consolekit
Browse files Browse the repository at this point in the history
  • Loading branch information
oberon-manjaro committed Oct 2, 2015
1 parent 7d4ad8f commit ba40402
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 0 deletions.
43 changes: 43 additions & 0 deletions light-locker-consolekit/PKGBUILD
@@ -0,0 +1,43 @@
# Maintainer: Aaditya Bagga <aaditya_gnulinux@zoho.com>
# Contributor: Maxime Gauduin <alucryd@archlinux.org>

pkgname=light-locker-consolekit
_pkgname=light-locker
pkgver=1.6.0
pkgrel=1.4
pkgdesc='A simple session locker, with consolekit support'
arch=('i686' 'x86_64')
url='https://github.com/the-cavalry/light-locker'
license=('GPL2')
depends=('dbus-glib' 'gtk3' 'libxxf86misc' 'lightdm' 'libxss' 'consolekit')
makedepends=('gnome-common' 'intltool')
conflicts=('light-locker' 'light-locker-upower')
provides=('light-locker')
install='light-locker.install'
source=("https://github.com/the-cavalry/light-locker/releases/download/v${pkgver}/light-locker-${pkgver}.tar.bz2")
sha256sums=('63e0cbcc7ceb8ad695b4bbe7eb9ba5fee32f47790ccde048748d8a47edd32ad0')

build () {
cd light-locker-${pkgver}

./configure \
--prefix='/usr' \
--localstatedir='/var' \
--sysconfdir='/etc' \
--with-x \
--with-dpms-ext \
--with-mit-ext \
--with-xf86gamma-ext \
--without-systemd \
--with-console-kit \
--without-upower \
--disable-schemas-compile \
--disable-static
make
}

package() {
cd light-locker-${pkgver}

make DESTDIR="${pkgdir}" install
}
13 changes: 13 additions & 0 deletions light-locker-consolekit/light-locker.install
@@ -0,0 +1,13 @@
post_install() {
glib-compile-schemas usr/share/glib-2.0/schemas
}

post_upgrade() {
post_install
}

post_remove() {
post_install
}

# vim: ts=2 sw=2 et:

0 comments on commit ba40402

Please sign in to comment.