blob: 3f7f36cdb1db5b286fe9a2038b5ed9aba78c0dca (
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
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# $Id: PKGBUILD 99945 2013-10-31 02:37:13Z allan $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributors: Sirius Bakke <sirius\at/nonline.org>
pkgname=pam_mount
pkgver=2.14
pkgrel=1
pkgdesc="A PAM module that can mount volumes for a user session"
arch=('i686' 'x86_64')
url="http://pam-mount.sourceforge.net/"
license=('GPL')
depends=('util-linux' 'libhx>=3.12.1' 'libxml2>=2.6' 'openssl>0.9.7' 'cryptsetup>=1.1.2')
optdepends=('hxtools: If you have something like <logout wait="1000" hup="0" term="1" kill="1" /> in your config')
backup=('etc/security/pam_mount.conf.xml')
options=(!emptydirs)
source=("http://downloads.sourceforge.net/project/pam-mount/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz")
md5sums=('5a130e59395cb88071b22cf5519bc681')
build() {
cd -- "$srcdir/$pkgname-$pkgver"
aclocal
libtoolize
automake --add-missing
autoreconf
./configure \
--prefix=/usr \
--with-ssbindir=/usr/bin \
--sbindir=/usr/bin \
--with-slibdir=/usr/lib \
--sysconfdir=/etc \
--localstatedir=/var
make
}
package() {
cd -- "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
}
|