void-packages/srcpkgs/xsecurelock/template

23 lines
706 B
Bash

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