void-packages/srcpkgs/mate-screensaver/template

23 lines
837 B
Bash

# Template file for 'mate-screensaver'
pkgname=mate-screensaver
version=1.10.0
revision=1
build_style=gnu-configure
build_options="systemd"
configure_args="--with-gtk=2.0 $(vopt_enable systemd)"
hostmakedepends="pkg-config intltool itstool"
makedepends="gtk+-devel dbus-glib-devel libnotify-devel libXScrnSaver-devel
libmatekbd-devel mate-menus-devel mate-desktop-devel pam-devel
$(vopt_if systemd systemd-devel)"
depends="mate-desktop mate-session-manager"
short_desc="Screensaver for MATE"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://mate-desktop.org"
distfiles="http://pub.mate-desktop.org/releases/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=4f087ebd386a5746f7cd8b84b9614cbcfccb664c976a9b359cdabd95802eba08
post_install() {
vinstall ${FILESDIR}/${pkgname}.pam 644 etc/pam.d ${pkgname}
}