void-packages/srcpkgs/xsecurelock/template

22 lines
816 B
Bash

# Template file for 'xsecurelock'
pkgname=xsecurelock
version=1.5.1
revision=1
build_style=gnu-configure
configure_args="--with-pam-service-name=system-local-login"
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=069a71994d39fee48c7c010194506466318c2b8b8bd8977d6ebbcd278d15e0b2
pre_configure() {
sh autogen.sh
echo "const char *const git_version = \"${version}\";" > version.c
}