26 lines
686 B
Bash
26 lines
686 B
Bash
# Template file for 'i3lock'
|
|
pkgname=i3lock
|
|
version=2.12
|
|
revision=1
|
|
build_style=gnu-configure
|
|
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="Frank Steinborn <steinex@nognu.de>"
|
|
license="MIT"
|
|
homepage="https://i3wm.org/i3lock/"
|
|
distfiles="https://i3wm.org/i3lock/i3lock-${version}.tar.bz2"
|
|
checksum=d0b2a1a96ce80649958b27b8d54a6069b3aec9e7ffe07d378f9c51763b56bc09
|
|
|
|
CFLAGS="-fcommon"
|
|
|
|
pre_build() {
|
|
vsed -i 's:login:system-auth:' pam/i3lock
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|