void-packages/srcpkgs/xtrlock/template

19 lines
567 B
Bash

# Template file for 'xtrlock'
pkgname=xtrlock
version=3.4
revision=1
wrksrc="xtrlock-pam-${version}"
build_style=configure
hostmakedepends="pkg-config python"
makedepends="libX11-devel pam-devel"
short_desc="PAM based X11 screen locker"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2"
homepage="https://github.com/aanatoly/xtrlock-pam"
distfiles="https://github.com/aanatoly/xtrlock-pam/archive/${version}.tar.gz"
checksum=dcc4b37a1ec303a99c9ef96412f6ba875f0c06355cdfdf4605a2a0a9e144c5d2
post_install() {
ln -s xtrlock-pam ${DESTDIR}/usr/bin/xtrlock
}