void-packages/srcpkgs/xsecurelock/template
2020-05-20 23:43:39 +00:00

25 lines
956 B
Bash

# Template file for 'xsecurelock'
pkgname=xsecurelock
version=1.7.0
revision=2
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
libXxf86misc-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=9443f0db75a74d319c8e1a6783c568e685a6149a5fdcf53d47a1b1c0d1ad1f54
pre_configure() {
sh autogen.sh
echo "const char *const git_version = \"${version}\";" > version.c
}