summaryrefslogtreecommitdiff
path: root/pcr/light-locker-consolekit
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2016-10-08 17:18:19 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2016-10-08 17:18:19 -0500
commit0a7b0f75dbb04f4256ebc2a1a56ad4bc02527946 (patch)
treebd02f8898e11b9ca2e55e6232e970b7451ebda8c /pcr/light-locker-consolekit
parent5c5bb6aeff5707efc5faad1585db4587cb417696 (diff)
downloadabslibre-0a7b0f75dbb04f4256ebc2a1a56ad4bc02527946.tar.gz
abslibre-0a7b0f75dbb04f4256ebc2a1a56ad4bc02527946.tar.bz2
abslibre-0a7b0f75dbb04f4256ebc2a1a56ad4bc02527946.zip
light-locker-consolekit: add new package to [pcr]
Diffstat (limited to 'pcr/light-locker-consolekit')
-rw-r--r--pcr/light-locker-consolekit/PKGBUILD44
-rw-r--r--pcr/light-locker-consolekit/light-locker.install13
2 files changed, 57 insertions, 0 deletions
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 <aaditya_gnulinux@zoho.com>
+# Contributor (Arch): Maxime Gauduin <alucryd@archlinux.org>
+# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
+
+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: