From a7aaa85792099e1da1864702cb603061ccc473e1 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 16 Dec 2012 15:57:51 +0100 Subject: [PATCH] New package: i3lock-2.4.1. --- srcpkgs/i3lock/template | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 srcpkgs/i3lock/template diff --git a/srcpkgs/i3lock/template b/srcpkgs/i3lock/template new file mode 100644 index 00000000000..331cfbd9ff2 --- /dev/null +++ b/srcpkgs/i3lock/template @@ -0,0 +1,28 @@ +# Template file for 'i3lock' +pkgname=i3lock +version=2.4.1 +revision=1 +short_desc="An improved screenlocker based upon XCB and PAM" +maintainer="Juan RP " +license="MIT" +homepage="http://i3wm.org/i3lock/" +distfiles="http://i3wm.org/i3lock/i3lock-${version}.tar.bz2" +checksum=4d29e66841138de562e71903d31ecaaefd8ecffe5e68da0d6c8d560ed543047c +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." + +conf_files="/etc/pam.d/i3lock" + +makedepends="which pkg-config libev-devel cairo-devel pam-devel + xcb-util-image-devel xcb-util-keysyms-devel" + +do_build() { + make ${makejobs} +} + +post_install() { + make DESTDIR=${DESTDIR} install + vinstall i3lock.1 644 usr/share/man/man1 +}