void-packages/srcpkgs/cinnamon-screensaver/template

30 lines
1.2 KiB
Bash

# Template file for 'cinnamon-screensaver'
pkgname=cinnamon-screensaver
version=3.2.6
revision=1
short_desc="The Cinnamon screensaver"
build_style=gnu-configure
configure_args="--disable-static --disable-schemas-compile --with-mit-ext"
hostmakedepends="automake libtool gnome-common pkg-config gobject-introspection
gettext-devel glib-devel intltool python3-devel"
makedepends="dbus-glib-devel libgnomekbd-devel cinnamon-desktop-devel
libXxf86misc-devel pam-devel webkit2gtk-devel python3-devel"
depends="cinnamon-translations desktop-file-utils hicolor-icon-theme python3-gobject xapps"
conf_files="/etc/pam.d/${pkgname}"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3"
homepage="http://cinnamon.linuxmint.com/"
distfiles="https://github.com/linuxmint/${pkgname}/archive/${version}.tar.gz"
checksum=5e0795d46f5f6f93e79139e87449c8a20438bc94af67f002b1b6ba3726db4741
nocross=https://build.voidlinux.eu/builders/armv7l_builder/builds/28904/steps/shell_3/logs/stdio
pycompile_version="$py3_ver"
pycompile_dirs="/usr/share/cinnamon-screensaver"
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
post_install() {
vinstall ${FILESDIR}/${pkgname}.pam 644 etc/pam.d ${pkgname}
}