summaryrefslogtreecommitdiff
path: root/community-testing/i3lock/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-05-02 00:01:22 +0000
committerroot <root@rshg054.dnsready.net>2012-05-02 00:01:22 +0000
commitdefe74c9cba07c321ad2869d8f6872e64a167324 (patch)
tree22377a98049a863983b9a28d9d79fc737f665cc3 /community-testing/i3lock/PKGBUILD
parent752015395fc8b95cc4a86b68189cb747fe9a8499 (diff)
Wed May 2 00:01:22 UTC 2012
Diffstat (limited to 'community-testing/i3lock/PKGBUILD')
-rw-r--r--community-testing/i3lock/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/community-testing/i3lock/PKGBUILD b/community-testing/i3lock/PKGBUILD
new file mode 100644
index 000000000..8a422ad18
--- /dev/null
+++ b/community-testing/i3lock/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 70151 2012-04-30 19:56:29Z ttopper $
+# Maintainer: Thorsten Töpper <atsutane-tu@freethoughts.de>
+
+pkgname=i3lock
+pkgver=2.4
+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-image' 'xcb-util-keysyms' 'pam' 'libev' 'libx11' 'cairo')
+options=('docs')
+source=("http://i3wm.org/i3lock/$pkgname-$pkgver.tar.bz2")
+md5sums=('728e2654d886ef97449708f0135e9fa5')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make
+ 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:
+