New package: xsecurelock

This commit is contained in:
Sean R. Lang 2014-12-21 20:15:38 -05:00
parent dd0d115924
commit 269f9ffd30
1 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,31 @@
# Template file for 'xsecurelock'
pkgname=xsecurelock
version=0.5
revision=1
build_style=gnu-configure
configure_args="--with-pam-service-name=system-auth"
hostmakedepends="pkg-config git automake"
makedepends="libX11-devel pam-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"
pre_configure() {
sh autogen.sh
}
do_fetch() {
local url="git://github.com/google/xsecurelock.git"
msg_normal "Fetching source from $url ...\n"
git clone --branch v${version} ${url} ${pkgname}-${version}
}
do_build() {
make CC=$CC CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" ${makejobs}
}
do_install() {
vbin xsecurelock
vdoc README.md README
}