1 # $Id: PKGBUILD,v 1.14 2005/04/03 21:05:37 judd Exp $
2 # Contributor: MrGreen <mrgreen.linuxuser@gmail.com>
6 pkgdesc="The op tool provides a flexible means for system administrators to grant access to certain root operations."
7 url="https://svn.swapoff.org/op"
8 depends=('glibc' 'pam')
10 source=(http://swapoff.org/files/$pkgname/$pkgname-$pkgver.tar.gz)
11 md5sums=('795b0ffabd305d48288aff46542fe3bf')
14 cd $startdir/src/$pkgname-$pkgver
15 ./configure --prefix=/usr --sysconfdir=/etc --enable-xauth=/usr/bin/xauth --with-pam
16 make DESTDIR=$startdir/pkg install || return 1
17 mkdir -p $startdir/pkg/etc/pam.d
18 install -m644 $startdir/src/${pkgname}-${pkgver}/op.pam $startdir/pkg/etc/pam.d/op