void-packages/srcpkgs/cinnamon-screensaver/template

37 lines
1.0 KiB
Plaintext

# Template file for 'cinnamon-screensaver'
pkgname=cinnamon-screensaver
version=2.0.3
revision=1
patch_args="-Np1"
short_desc="The Cinnamon screensaver"
build_style=gnu-configure
configure_args=" --disable-static --disable-schemas-compile
--enable-systemd --with-mit-ext"
hostmakedepends="automake libtool gnome-common pkg-config gobject-introspection
gettext-devel intltool which"
makedepends="dbus-glib-devel libgnomekbd-devel cinnamon-desktop-devel
libXxf86misc-devel pam-devel systemd-devel desktop-file-utils hicolor-icon-theme"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3"
homepage="http://cinnamon.linuxmint.com/"
do_fetch() {
git clone -b ${version} git://github.com/linuxmint/${pkgname} ${pkgname}-${version}
}
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
post_install() {
vinstall ${FILESDIR}/${pkgname}.pam 644 etc/pam.d ${pkgname}
}
cinnamon-screensaver_package() {
depends="cinnamon-translations desktop-file-utils hicolor-icon-theme"
conf_files="/etc/pam.d/${pkgname}"
pkg_install() {
vmove all
}
}