30 lines
845 B
Bash
30 lines
845 B
Bash
# Template file for 'i3lock-color'
|
|
pkgname=i3lock-color
|
|
version=2.12
|
|
revision=2
|
|
wrksrc="${pkgname}-${version}.c"
|
|
build_style=gnu-configure
|
|
hostmakedepends="pkg-config automake"
|
|
makedepends="libev-devel cairo-devel pam-devel libxkbcommon-devel xcb-util-devel
|
|
xcb-util-image-devel xcb-util-xrm-devel libjpeg-turbo-devel"
|
|
short_desc="Screenlocker forked from i3lock with more features"
|
|
maintainer="jtalowell <jtalowell@protonmail.com>"
|
|
license="MIT"
|
|
homepage="https://github.com/PandorasFox/i3lock-color"
|
|
distfiles="https://github.com/PandorasFox/i3lock-color/archive/${version}.c.tar.gz"
|
|
checksum=c2ba4cfa51fee3fd2cab439805d213d8614407d93cf8eecbd4e6fa5cb4c9b7a3
|
|
conf_files="/etc/pam.d/i3lock"
|
|
conflicts="i3lock"
|
|
|
|
pre_configure() {
|
|
autoreconf -i
|
|
}
|
|
|
|
pre_build() {
|
|
vsed -i 's:login:system-auth:' pam/i3lock
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|