void-packages/srcpkgs/i3lock/template

25 lines
726 B
Bash

# Template file for 'i3lock'
pkgname=i3lock
version=2.15
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/"
changelog="https://raw.githubusercontent.com/i3/i3lock/main/CHANGELOG"
distfiles="https://i3wm.org/i3lock/i3lock-${version}.tar.xz"
checksum=5711ae5255e82b1dc8d8b4c035c520230921aba7ceee23d66f79765b21a84baa
pre_build() {
vsed -i 's:login:system-auth:' pam/i3lock
}
post_install() {
vlicense LICENSE
}