2012-12-16 14:57:51 +00:00
|
|
|
# Template file for 'i3lock'
|
|
|
|
pkgname=i3lock
|
2013-06-10 08:02:35 +00:00
|
|
|
version=2.5
|
|
|
|
revision=1
|
2014-01-01 15:10:11 +00:00
|
|
|
hostmakedepends="which pkg-config"
|
|
|
|
makedepends="libev-devel cairo-devel pam-devel libxkbcommon-devel
|
|
|
|
xcb-util-devel libxkbfile-devel xcb-util-image-devel xcb-util-keysyms-devel"
|
|
|
|
conf_files="/etc/pam.d/i3lock"
|
2012-12-16 14:57:51 +00:00
|
|
|
short_desc="An improved screenlocker based upon XCB and PAM"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="MIT"
|
|
|
|
homepage="http://i3wm.org/i3lock/"
|
|
|
|
distfiles="http://i3wm.org/i3lock/i3lock-${version}.tar.bz2"
|
2013-06-10 08:02:35 +00:00
|
|
|
checksum=ac2772c9e4fc13adb882cacaae13ccc381d6d4f154ffd538634a58e6369d0d77
|
2012-12-16 14:57:51 +00:00
|
|
|
long_desc="
|
|
|
|
i3lock is a simple screen locker like slock. After starting it, you will see
|
|
|
|
a white screen (you can configure the color/an image). You can return to your
|
|
|
|
screen by entering your password."
|
|
|
|
|
|
|
|
do_build() {
|
2013-05-06 12:16:31 +00:00
|
|
|
export CFLAGS="$CFLAGS -std=c99"
|
|
|
|
make ${makejobs}
|
2012-12-16 14:57:51 +00:00
|
|
|
}
|
|
|
|
|
2013-05-06 12:13:47 +00:00
|
|
|
do_install() {
|
2012-12-16 14:57:51 +00:00
|
|
|
make DESTDIR=${DESTDIR} install
|
|
|
|
vinstall i3lock.1 644 usr/share/man/man1
|
|
|
|
}
|