summaryrefslogtreecommitdiff
path: root/community/slock
diff options
context:
space:
mode:
Diffstat (limited to 'community/slock')
-rw-r--r--community/slock/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/community/slock/PKGBUILD b/community/slock/PKGBUILD
new file mode 100644
index 000000000..b6fbb2ebe
--- /dev/null
+++ b/community/slock/PKGBUILD
@@ -0,0 +1,26 @@
+# $Id: PKGBUILD 78848 2012-10-25 20:30:11Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Sebastian A. Liem <sebastian at liem dot se>
+
+pkgname=slock
+pkgver=1.1
+pkgrel=1
+pkgdesc="A simple screen locker for X"
+arch=('i686' 'x86_64')
+url="http://tools.suckless.org/slock"
+license=('MIT')
+depends=('libxext')
+source=("http://dl.suckless.org/tools/$pkgname-$pkgver.tar.gz")
+#source=("slock-$pkgver.tar.bz2::http://hg.suckless.org/slock/archive/$_pkgver.tar.gz")
+md5sums=('e3b25abdfd54c81562de4d63d3565be7')
+
+build() {
+ cd "$srcdir/slock-$pkgver"
+ make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11
+}
+
+package() {
+ cd "$srcdir/slock-$pkgver"
+ make PREFIX=/usr DESTDIR="$pkgdir" install
+ install -m644 -D LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}