summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f2a9da3047a352ca50a9480f4373dc8446682963 (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
# Maintainer: Ainola
# Contributor: Guillem Rieu

pkgname=pam_encfs
pkgver=0.1.4.4
pkgrel=3
pkgdesc="A module to auto-mount encfs directories on login"
url="http://code.google.com/p/pam-encfs/"
arch=('i686' 'x86_64')
depends=('pam' 'encfs')
backup=('etc/security/pam_encfs.conf')
license=('GPL2')
source=("http://pam-encfs.googlecode.com/files/${pkgname}-${pkgver}.tar.gz")
sha256sums=('ec3144d20e32f568e0cbce645e2525565b0f9307f7643436d98937d0c3d09f8e')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make
}
package(){
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}/usr" install
  mkdir -p "${pkgdir}/etc/security"
  cp pam_encfs.conf "${pkgdir}/etc/security"
}