From 83c3c42a38bda36bdc56d594318958bc4cfd9b32 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 28 Nov 2011 23:14:56 +0000 Subject: Mon Nov 28 23:14:56 UTC 2011 --- community-testing/i3lock/PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 community-testing/i3lock/PKGBUILD (limited to 'community-testing/i3lock/PKGBUILD') diff --git a/community-testing/i3lock/PKGBUILD b/community-testing/i3lock/PKGBUILD new file mode 100644 index 000000000..a480fb878 --- /dev/null +++ b/community-testing/i3lock/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Thorsten Töpper + +pkgname=i3lock +pkgver=2.2 +pkgrel=2 +pkgdesc="An improved screenlocker based upon XCB and PAM" +arch=('i686' 'x86_64') +url="http://i3wm.org/i3lock/" +license=('MIT') +groups=("i3") +depends=('xcb-util' 'xcb-util-image' 'xcb-util-keysyms' 'pam') +options=('docs') +source=("http://i3wm.org/i3lock/$pkgname-$pkgver.tar.bz2") +md5sums=('6179a1611e333c8baf54093b57d50687') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + make NOLIBCAIRO=y + gzip i3lock.1 +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + + install -Dm644 i3lock.1.gz ${pkgdir}/usr/share/man/man1/i3lock.1.gz + install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + make clean +} + +# vim:set ts=2 sw=2 et: + -- cgit v1.2.3-54-g00ecf