updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / pam_encfs / PKGBUILD
blob1d48efcb3a1ab128f69f623df515dbc99ba2571c
1 # Contributor: Guillem Rieu <guillemr@gmx.net>
3 pkgname=pam_encfs
4 pkgver=0.1.4.4
5 pkgrel=1
6 pkgdesc="pam_encfs is a module to auto mount encfs dir on login"
7 url="http://code.google.com/p/pam-encfs/"
8 arch=(i686 x86_64)
9 depends=('encfs')
10 backup=('etc/security/pam_encfs.conf')
11 license="GPL"
12 source=(http://pam-encfs.googlecode.com/files/$pkgname-$pkgver.tar.gz)
13 md5sums=('20d10fa842e968a224af542db7e10d21')
15 build() {
16   cd $srcdir/$pkgname-$pkgver
17   sed -i 's@/usr/bin/install@/bin/install@g' Makefile
18   make || return 1
19   make DESTDIR=$pkgdir install || return 1
20   mkdir -p $pkgdir/etc/security
21   cp pam_encfs.conf $pkgdir/etc/security