1 # $Id: PKGBUILD 22255 2010-07-20 05:18:40Z spupykin $
2 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
3 # Contributor: Corrado Primier <bardo@aur.archlinux.org>
4 # Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
6 pkgname=vlock-cmatrixreloaded
9 pkgdesc="A small console locking program, hack'n'patched for matrix goodness."
10 url="http://cthulhu.c3d2.de/~toidinamai/vlock/vlock.html"
11 arch=('i686' 'x86_64')
13 depends=('pam' 'ncurses')
14 install=vlock-cmatrixreloaded.install
15 source=(http://login.icu.uzh.ch/~archer/${pkgname}-${pkgver}.tar.gz)
16 md5sums=('4d7557081d8fb914c26a2ee3cb345278')
20 if (getent group vlockcmr); then
21 echo "Group vlockcmr already exists. Continuing..."
23 echo "Need to add vlockcmr group..."
24 if $(LD_PRELOAD="" pacman -Qi sudo >/dev/null 2>&1); then
25 LD_PRELOAD="" sudo groupadd vlockcmr
26 echo "Added vlockcmr group"
27 elif (( $(LD_PRELOAD="" id -u) != 0 )); then
28 echo "Need to have sudo or be logged in as root!"
34 cd ${srcdir}/${pkgname}-${pkgver}
35 ./configure --prefix=/usr
37 make DESTDIR=${pkgdir} install