From 0a7b0f75dbb04f4256ebc2a1a56ad4bc02527946 Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Sat, 8 Oct 2016 17:18:19 -0500 Subject: light-locker-consolekit: add new package to [pcr] --- pcr/light-locker-consolekit/PKGBUILD | 44 ++++++++++++++++++++++++ pcr/light-locker-consolekit/light-locker.install | 13 +++++++ 2 files changed, 57 insertions(+) create mode 100644 pcr/light-locker-consolekit/PKGBUILD create mode 100644 pcr/light-locker-consolekit/light-locker.install (limited to 'pcr') diff --git a/pcr/light-locker-consolekit/PKGBUILD b/pcr/light-locker-consolekit/PKGBUILD new file mode 100644 index 000000000..c9cfae939 --- /dev/null +++ b/pcr/light-locker-consolekit/PKGBUILD @@ -0,0 +1,44 @@ +# Maintainer (Arch): Aaditya Bagga +# Contributor (Arch): Maxime Gauduin +# Maintainer: Omar Vega Ramos + +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' 'armv7h') +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 +} diff --git a/pcr/light-locker-consolekit/light-locker.install b/pcr/light-locker-consolekit/light-locker.install new file mode 100644 index 000000000..43fe00f8d --- /dev/null +++ b/pcr/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: -- cgit v1.2.3