void-packages/srcpkgs/xsecurelock/template

25 lines
788 B
Bash

# Template file for 'xsecurelock'
pkgname=xsecurelock
version=1.2
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="An 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=724d4f9202d7a535ae44e282512f104481c62984ad4930f46a6816a4b31de573
pre_configure() {
sh autogen.sh
echo "const char *const git_version = \"${version}\";" > version.c
}
do_build() {
make CC=$CC CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" ${makejobs}
}