summaryrefslogtreecommitdiff
path: root/community/vlock/PKGBUILD
blob: 0e79a7875b361d180ff41f36bfdccd1394b1aa8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# $Id: PKGBUILD 58034 2011-11-05 17:24:10Z ttopper $
# Maintainer: Thorsten Töpper <atsutane-tu@freethoughts.de>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Corrado Primier <bardo@aur.archlinux.org>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>

pkgname=vlock
pkgver=2.2.3
pkgrel=1
pkgdesc="A small console locking program"
url="http://cthulhu.c3d2.de/~toidinamai/vlock/vlock.html"
arch=('i686' 'x86_64')
license=('GPL2')
depends=('pam')
install=vlock.install
source=("http://cthulhu.c3d2.de/~toidinamai/vlock/archive/$pkgname-$pkgver.tar.bz2")
md5sums=('2dd5677c97f2707db62532ae24f58433')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"

  # vlock gid is 129
  make DESTDIR="$pkgdir" VLOCK_GROUP=129 install
}

# vim:set ts=2 sw=2 et: