void-packages/srcpkgs/xsecurelock/template

25 lines
785 B
Bash

# Template file for 'xsecurelock'
pkgname=xsecurelock
version=1.3
revision=1
build_style=gnu-configure
configure_args="--with-pam-service-name=system-auth"
hostmakedepends="pkg-config automake"
makedepends="libX11-devel pam-devel libXcomposite-devel libXmu-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=4676dba46e42da7b6b9ff043c78cbe52b544b0f85ba5e8903e486e2d0677abdd
pre_configure() {
sh autogen.sh
echo "const char *const git_version = \"${version}\";" > version.c
}
do_build() {
make CC=$CC CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" ${makejobs}
}