Date: Monday, February 9, 2015 @ 12:51:21 Author: alucryd Revision: 127383
upgpkg: light-locker 1.6.0-1 Added: light-locker/trunk/light-locker.install Modified: light-locker/trunk/PKGBUILD ----------------------+ PKGBUILD | 27 ++++++++++++++++++++------- light-locker.install | 13 +++++++++++++ 2 files changed, 33 insertions(+), 7 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2015-02-09 11:42:20 UTC (rev 127382) +++ PKGBUILD 2015-02-09 11:51:21 UTC (rev 127383) @@ -1,8 +1,8 @@ # $Id$ -# Maintainer: Maxime Gauduin <[email protected]> +# Maintainer: Maxime Gauduin <[email protected]> pkgname=light-locker -pkgver=1.4.0 +pkgver=1.6.0 pkgrel=1 pkgdesc='A simple session locker' arch=('i686' 'x86_64') @@ -10,18 +10,31 @@ license=('GPL2') depends=('dbus-glib' 'gtk3' 'libxxf86misc' 'lightdm' 'libxss') makedepends=('gnome-common' 'intltool') -source=("https://github.com/the-cavalry/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.bz2") -sha256sums=('560f20390b24513d5bf7b691bac5d745b76eb21ac3bccd877b73cb7f6d137ec3') +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 ${pkgname}-${pkgver} + cd light-locker-${pkgver} - ./configure --prefix='/usr' --sysconfdir='/etc' --localstatedir='/var' --disable-{schemas-compile,static} --with-{mit-ext,systemd,xf86gamma-ext,x} --without-{console-kit,upower} + ./configure \ + --prefix='/usr' \ + --localstatedir='/var' \ + --sysconfdir='/etc' \ + --with-x \ + --with-dpms-ext \ + --with-mit-ext \ + --with-xf86gamma-ext \ + --with-systemd \ + --without-console-kit \ + --without-upower \ + --disable-schemas-compile \ + --disable-static make } package() { - cd ${pkgname}-${pkgver} + cd light-locker-${pkgver} make DESTDIR="${pkgdir}" install } Added: light-locker.install =================================================================== --- light-locker.install (rev 0) +++ light-locker.install 2015-02-09 11:51:21 UTC (rev 127383) @@ -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:
