This repository has been archived by the owner on Jun 6, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7d4ad8f
commit ba40402
Showing
2 changed files
with
56 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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: |