# $Id: PKGBUILD 92248 2013-06-03 11:15:14Z allan $ # Maintainer: Timothy Redaelli # Contributor: Richard Murri # Contributor: Michal Krenek pkgname=ecryptfs-utils pkgver=103 pkgrel=2 arch=('i686' 'x86_64') pkgdesc="Enterprise-class stacked cryptographic filesystem for Linux" url="https://launchpad.net/ecryptfs" license=('GPL') makedepends=('swig' 'intltool' 'gettext' 'python2') depends=('keyutils' 'nss' 'openssl') optdepends=('python2: for python module') source=("http://launchpad.net/ecryptfs/trunk/${pkgver}/+download/${pkgname}_${pkgver}.orig.tar.gz" "${pkgname}_${pkgver}.orig.tar.gz.sig::http://launchpad.net/ecryptfs/trunk/${pkgver}/+download/..-${pkgname}_${pkgver}.orig.tar.gz.asc") options=(!libtool) md5sums=('39929d850edd24b175ff0c82722e0de1' '1fc46fb18d662315c8d4cb13b0e618c0') build() { cd "$srcdir/${pkgname}-${pkgver}" ./configure --prefix=/usr --with-pamdir=/usr/lib/security PYTHON=python2 make } package() { cd "$srcdir/${pkgname}-${pkgver}" make DESTDIR="$pkgdir/" rootsbindir='/usr/bin' install chmod +s "$pkgdir/usr/bin/mount.ecryptfs_private" }