25 lines
686 B
Bash
25 lines
686 B
Bash
# Template file for 'i3lock'
|
|
pkgname=i3lock
|
|
version=2.13
|
|
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=637fe898acb324337d3ebc4fcdb2e390b082147fdc8a0cda6c19e7f395965f0b
|
|
|
|
CFLAGS="-fcommon"
|
|
|
|
pre_build() {
|
|
vsed -i 's:login:system-auth:' pam/i3lock
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|