# Template file for 'gnome-screensaver'
pkgname=gnome-screensaver
version=3.6.0
revision=1
build_style=gnu-configure
configure_args="--with-mit-ext --disable-maintainer-mode --with-systemd
--without-console-kit"
makedepends="pkg-config intltool gnome-doc-utils pam-devel dbus-glib-devel
libXScrnSaver-devel libXxf86misc-devel libgnomekbd-devel>=3.6.0
gnome-desktop-devel>=3.6.0 systemd-devel"
fulldepends="gsettings-desktop-schemas"
conf_files="/etc/pam.d/${pkgname}"
short_desc="GNOME screen saver and locker"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://live.gnome.org/GnomeScreensaver"
license="GPL-2"
distfiles="${GNOME_SITE}/$pkgname/3.6/$pkgname-$version.tar.xz"
checksum=4c6579edb764a1108f7ce374a901797cf1de666113fcdc51642d805ff16c5c26
long_desc="
 ${pkgname} is a screen saver and locker that aims to have simple, sane and
 secure defaults, and be well integrated with the GNOME desktop.

 It is designed to support, among other things:

  * the ability to lock down configuration settings
  * translation into other languages
  * user switching"

post_install() {
	vinstall ${FILESDIR}/${pkgname}.pam 644 etc/pam.d ${pkgname}
}
