void-packages/srcpkgs/xsecurelock/template

25 lines
936 B
Bash

# Template file for 'xsecurelock'
pkgname=xsecurelock
version=1.9.0
revision=1
build_style=gnu-configure
configure_args="--with-pam-service-name=system-local-login
--with-xscreensaver=/usr/libexec/xscreensaver
--with-mpv=/usr/bin/mpv
--with-mplayer=/usr/bin/mplayer
--with-htpasswd=/usr/bin/htpasswd"
hostmakedepends="pkg-config automake"
makedepends="libX11-devel libXcomposite-devel libXext-devel libXfixes-devel
libXft-devel libXmu-devel libXrandr-devel libXScrnSaver-devel pam-devel"
short_desc="X11 screen locker designed with the primary goal of security"
maintainer="Sean R. Lang <srlang@ncsu.edu>"
license="Apache-2.0"
homepage="https://github.com/google/xsecurelock"
distfiles="https://github.com/google/xsecurelock/archive/v${version}.tar.gz"
checksum=22aca05799326681bf296a288182d7b28066ff2d4db26d09bd7b2dfe8405269e
pre_configure() {
sh autogen.sh
echo "const char *const git_version = \"${version}\";" > version.c
}