diff options
Diffstat (limited to 'community/vlock')
-rw-r--r-- | community/vlock/ChangeLog | 18 | ||||
-rw-r--r-- | community/vlock/PKGBUILD | 23 | ||||
-rw-r--r-- | community/vlock/vlock.install | 18 |
3 files changed, 59 insertions, 0 deletions
diff --git a/community/vlock/ChangeLog b/community/vlock/ChangeLog new file mode 100644 index 000000000..61e8e1dd3 --- /dev/null +++ b/community/vlock/ChangeLog @@ -0,0 +1,18 @@ +2008-08-30 Corrado Primier <bardo@aur.archlinux.org> + + * Version bump: 2.2.2 + + * PKGBUILD: fixed license (GPL -> GPL2), removed sed line in favour of + configure + + * vlock.install: added, it creates the vlock group + + +2007-09-10 Corrado Primier <bardo@aur.archlinux.org> + + * Version bump: 2.1 + + +2007-06-28 tardo <tardo@nagi-fanboi.net> + + * Built for x86_64 diff --git a/community/vlock/PKGBUILD b/community/vlock/PKGBUILD new file mode 100644 index 000000000..9ebaf1ed3 --- /dev/null +++ b/community/vlock/PKGBUILD @@ -0,0 +1,23 @@ +# $Id: PKGBUILD 22255 2010-07-20 05:18:40Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: Corrado Primier <bardo@aur.archlinux.org> +# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us> + +pkgname=vlock +pkgver=2.2.2 +pkgrel=2 +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=('0b26703c0aa3a9ae67bb90b9373a3b88') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + ./configure --prefix=/usr + make || return 1 + make DESTDIR=${pkgdir} install +} diff --git a/community/vlock/vlock.install b/community/vlock/vlock.install new file mode 100644 index 000000000..4cf592b35 --- /dev/null +++ b/community/vlock/vlock.install @@ -0,0 +1,18 @@ +post_install() { + echo -n 'Adding vlock group... ' + groupadd -g 129 vlock && echo 'done.' +} + +post_upgrade() { + cut -d: -f1 /etc/group | grep ^vlock$ >/dev/null + if [ $? == 1 ] ; then + post_install + fi +} + +post_remove() { + echo -n 'Removing vlock group... ' + groupdel vlock && echo 'done.' +} + +# vim:set ts=2 sw=2 et: |