void-packages/srcpkgs/mate-screensaver/template

22 lines
826 B
Bash

# Template file for 'mate-screensaver'
pkgname=mate-screensaver
version=1.8.1
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/1.8/${pkgname}-${version}.tar.xz"
checksum=a3dd1fe9e8d05b7815544fa186c43a35271dd8b512d6b0377038df02c28c9d62
post_install() {
vinstall ${FILESDIR}/${pkgname}.pam 644 etc/pam.d ${pkgname}
}