# Template file for 'gnome-screensaver'
pkgname=gnome-screensaver
version=3.6.1
revision=4
build_style=gnu-configure
configure_args="--enable-compile-warnings=minimum"
hostmakedepends="pkg-config automake intltool glib-devel"
makedepends="gnome-desktop-devel dbus-glib-devel pam-devel"
depends="gnome-desktop libgnomekbd dbus"
short_desc="GNOME's screensaver that can replace xscreensaver"
maintainer="shizonic <realtiaz@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://wiki.gnome.org/Projects/GnomeScreensaver"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=f39b78d4f7fed748c7f0a31d694112fb907c6d3c4e63db22eb858df07e962cd0

post_patch() {
	vsed -i -e 's/DATADIRNAME=lib/DATADIRNAME=share/' configure
}
