2012-12-16 15:57:51 +01:00
|
|
|
# Template file for 'i3lock'
|
|
|
|
pkgname=i3lock
|
|
|
|
version=2.4.1
|
2013-05-06 14:16:31 +02:00
|
|
|
revision=3
|
2012-12-16 15:57:51 +01: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"
|
|
|
|
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."
|
|
|
|
|
2013-05-06 14:13:47 +02:00
|
|
|
hostmakedepends="which pkg-config"
|
|
|
|
makedepends="libev-devel cairo-devel pam-devel
|
2012-12-16 15:57:51 +01:00
|
|
|
xcb-util-image-devel xcb-util-keysyms-devel"
|
|
|
|
|
|
|
|
do_build() {
|
2013-05-06 14:16:31 +02:00
|
|
|
export CFLAGS="$CFLAGS -std=c99"
|
2013-05-06 14:13:47 +02:00
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
|
|
export PKG_CONFIG_PATH="$XBPS_CROSS_BASE/usr/lib/pkgconfig"
|
|
|
|
export PKG_CONFIG_SYSROOT_DIR="$XBPS_CROSS_BASE"
|
|
|
|
fi
|
2013-05-06 14:16:31 +02:00
|
|
|
make ${makejobs}
|
2012-12-16 15:57:51 +01:00
|
|
|
}
|
|
|
|
|
2013-05-06 14:13:47 +02:00
|
|
|
do_install() {
|
2012-12-16 15:57:51 +01:00
|
|
|
make DESTDIR=${DESTDIR} install
|
|
|
|
vinstall i3lock.1 644 usr/share/man/man1
|
|
|
|
}
|
2013-04-12 16:39:50 +02:00
|
|
|
|
|
|
|
i3lock_package() {
|
|
|
|
conf_files="/etc/pam.d/i3lock"
|
|
|
|
pkg_install() {
|
2013-05-06 14:13:47 +02:00
|
|
|
vmove all
|
2013-04-12 16:39:50 +02:00
|
|
|
}
|
|
|
|
}
|