summaryrefslogtreecommitdiff
path: root/community/gnome-screensaver/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/gnome-screensaver/PKGBUILD')
-rw-r--r--community/gnome-screensaver/PKGBUILD13
1 files changed, 9 insertions, 4 deletions
diff --git a/community/gnome-screensaver/PKGBUILD b/community/gnome-screensaver/PKGBUILD
index c046302a6..9649da0d5 100644
--- a/community/gnome-screensaver/PKGBUILD
+++ b/community/gnome-screensaver/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 93459 2013-07-03 14:24:20Z bgyorgy $
+# $Id: PKGBUILD 96399 2013-08-27 14:10:08Z bgyorgy $
# Maintainer: Balló György <ballogyor+arch at gmail dot com>
# Contributor: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=gnome-screensaver
pkgver=3.6.1
-pkgrel=4
+pkgrel=5
pkgdesc="Legacy GNOME screensaver"
arch=('i686' 'x86_64')
license=('GPL')
@@ -17,11 +17,13 @@ optdepends=('gnome-themes-standard: default background')
source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz
gnome-screensaver.pam
move-desktop-file.patch
- fix-autoconf.patch)
+ fix-autoconf.patch
+ lock_screen_on_suspend.patch)
sha256sums=('f39b78d4f7fed748c7f0a31d694112fb907c6d3c4e63db22eb858df07e962cd0'
'b6ea9e2eb586d94bcabb617a8f1c2958111df87afdbb51f645882bccdc15cbda'
'4bb96f62aa069c83b629204a79a3f63b146bcaf773569aee8b5dd23fbcd88974'
- 'c4da9c18b543ecbc781c1f103321b324a855bdd0979fd36b437f6033736ad4bb')
+ 'c4da9c18b543ecbc781c1f103321b324a855bdd0979fd36b437f6033736ad4bb'
+ '516c479558576c6c5a2509abfcbf4fdafb5953d252e7a4ab972f9db6137daca8')
build() {
cd "$pkgname-$pkgver"
@@ -32,6 +34,9 @@ build() {
# Fix build
patch -Np1 -i "$srcdir/fix-autoconf.patch"
+ # Lock screen on suspend with systemd
+ patch -Np1 -i "$srcdir/lock_screen_on_suspend.patch"
+
autoreconf -fi
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/$pkgname \
--with-mit-ext