void-packages/srcpkgs/i3lock/template

26 lines
676 B
Bash

# Template file for 'i3lock'
pkgname=i3lock
version=2.14.1
revision=1
build_style=meson
hostmakedepends="pkg-config"
makedepends="libev-devel cairo-devel pam-devel libxkbcommon-devel
xcb-util-devel xcb-util-image-devel xcb-util-xrm-devel"
conf_files="/etc/pam.d/i3lock"
short_desc="Improved screenlocker based upon XCB and PAM"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://i3wm.org/i3lock/"
distfiles="https://i3wm.org/i3lock/i3lock-${version}.tar.xz"
checksum=062ef27eba0bc5a0c7ae91f7b7cbbf03b316d6a49fe80a58fc9f20c18a4e6843
CFLAGS="-fcommon"
pre_build() {
vsed -i 's:login:system-auth:' pam/i3lock
}
post_install() {
vlicense LICENSE
}