26 lines
956 B
Bash
26 lines
956 B
Bash
# Template file for 'xsecurelock'
|
|
pkgname=xsecurelock
|
|
version=1.8.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--with-pam-service-name=system-local-login
|
|
--with-xscreensaver=/usr/libexec/xscreensaver
|
|
--with-mpv=/usr/bin/mpv
|
|
--with-mplayer=/usr/bin/mplayer
|
|
--with-htpasswd=/usr/bin/htpasswd"
|
|
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=c11a5cc1a9c835749a6fe472a40d12cac10ae4c89a67f153a5492debe7b80633
|
|
|
|
pre_configure() {
|
|
sh autogen.sh
|
|
echo "const char *const git_version = \"${version}\";" > version.c
|
|
}
|