summaryrefslogtreecommitdiff
path: root/extra/xscreensaver/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/xscreensaver/PKGBUILD')
-rw-r--r--extra/xscreensaver/PKGBUILD14
1 files changed, 8 insertions, 6 deletions
diff --git a/extra/xscreensaver/PKGBUILD b/extra/xscreensaver/PKGBUILD
index 09280bc69..04259d150 100644
--- a/extra/xscreensaver/PKGBUILD
+++ b/extra/xscreensaver/PKGBUILD
@@ -1,15 +1,17 @@
-# $Id: PKGBUILD 139172 2011-09-30 22:43:18Z eric $
+# $Id: PKGBUILD 146796 2012-01-18 14:05:21Z eric $
# Maintainer: Eric BĂ©langer <eric@archlinux.org>
pkgname=xscreensaver
pkgver=5.15
-pkgrel=2
+pkgrel=3
pkgdesc="Screen saver and locker for the X Window System"
arch=('i686' 'x86_64')
url="http://www.jwz.org/xscreensaver/"
license=('BSD')
-depends=('libxxf86vm' 'libglade' 'mesa' 'pam' 'xorg-appres' 'libxmu' 'perl-libwww')
-makedepends=('bc')
+depends=('libxxf86vm' 'libglade' 'mesa' 'pam' 'xorg-appres' 'libxmu' \
+ 'perl-libwww' 'perl-http-message')
+makedepends=('bc' 'libxpm' 'gdm')
+optdepends=('gdm: for login manager support')
backup=('etc/pam.d/xscreensaver')
source=(http://www.jwz.org/xscreensaver/${pkgname}-${pkgver}.tar.gz \
add-electricsheep.diff xscreensaver.pam LICENSE)
@@ -20,10 +22,10 @@ sha1sums=('b5ce7caa19f4d57c3bac83377a36dddbe7095052'
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- patch -Np0 -i "${srcdir}/add-electricsheep.diff"
+ patch -p0 -i "${srcdir}/add-electricsheep.diff"
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--libexecdir=/usr/lib --with-x-app-defaults=/usr/share/X11/app-defaults \
- --with-pam --without-motif --with-gtk --with-gl \
+ --with-pam --with-login-manager --with-gtk --with-gl \
--without-gle --with-pixbuf --with-jpeg
make
}