void-packages/srcpkgs/xsecurelock/template

23 lines
719 B
Bash

# Template file for 'xsecurelock'
pkgname=xsecurelock
version=1.1
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=a69c9cf48f193deb4866501f4e53bf82d3a9c0a70b062d433a6fbe608201b59d
pre_configure() {
sh autogen.sh
}
do_build() {
make CC=$CC CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" ${makejobs}
}