void-packages/srcpkgs/cinnamon-screensaver/template

27 lines
1008 B
Bash

# Template file for 'cinnamon-screensaver'
pkgname=cinnamon-screensaver
version=5.8.1
revision=1
build_style=meson
build_helper="gir"
hostmakedepends="gettext-devel glib-devel pkg-config python3-devel"
makedepends="cinnamon-desktop-devel dbus-glib-devel
xdotool-devel gtk+3-devel libglib-devel dbus-devel libXinerama-devel
libgnomekbd-devel pam-devel python3-devel"
depends="cinnamon-translations hicolor-icon-theme python3-gobject
python3-setproctitle python3-xapp xapps"
conf_files="/etc/pam.d/${pkgname}"
short_desc="Cinnamon screensaver"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later, LGPL-2.0-or-later"
homepage="https://github.com/linuxmint/cinnamon-screensaver"
distfiles="https://github.com/linuxmint/cinnamon-screensaver/archive/${version}.tar.gz"
checksum=8959f03a9e7e2b2760a8fb5c7129d2431021ca193ff4ebcac59c4bbda95a8319
python_version=3
pycompile_dirs="/usr/share/cinnamon-screensaver"
post_install() {
vinstall ${FILESDIR}/${pkgname}.pam 644 etc/pam.d ${pkgname}
}