summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authortwelveeighty2018-11-21 20:09:54 -0700
committertwelveeighty2018-11-21 20:09:54 -0700
commit9c86c37b5bac20e81c77fb8d82b42f36b40a26c5 (patch)
treef1831767e54c07d59e91fe192cbf34a411ee9e86
downloadaur-9c86c37b5bac20e81c77fb8d82b42f36b40a26c5.tar.gz
Initial commit.
-rw-r--r--.SRCINFO23
-rw-r--r--PKGBUILD44
2 files changed, 67 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b8e93a1ef02
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,23 @@
+pkgbase = pam_mount-git
+ pkgdesc = A PAM module that can mount volumes for a user session
+ pkgver = 2.16
+ pkgrel = 1
+ url = http://pam-mount.sourceforge.net/
+ arch = x86_64
+ license = GPL
+ makedepends = git
+ depends = pcre
+ depends = util-linux
+ depends = libhx
+ depends = libxml2
+ depends = openssl
+ depends = cryptsetup
+ provides = pam_mount
+ conflicts = pam_mount
+ options = !emptydirs
+ backup = etc/security/pam_mount.conf.xml
+ source = pam_mount-git::git+git://git.code.sf.net/p/pam-mount/pam-mount
+ md5sums = SKIP
+
+pkgname = pam_mount-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..dec95b378f8
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,44 @@
+# Maintainer: Frank Vanderham <twelve_dot_eighty_at_gmail_dot_com>
+pkgname=pam_mount-git
+pkgver=2.16
+pkgrel=1
+pkgdesc="A PAM module that can mount volumes for a user session"
+arch=('x86_64')
+url="http://pam-mount.sourceforge.net/"
+license=('GPL')
+depends=('pcre' 'util-linux' 'libhx' 'libxml2' 'openssl' 'cryptsetup')
+makedepends=('git') # 'bzr', 'git', 'mercurial' or 'subversion'
+provides=("pam_mount")
+conflicts=("pam_mount")
+backup=('etc/security/pam_mount.conf.xml')
+options=(!emptydirs)
+source=("${pkgname}::git+git://git.code.sf.net/p/pam-mount/pam-mount")
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/${pkgname%-VCS}"
+ printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
+}
+
+build() {
+ cd -- "$srcdir/$pkgname"
+ aclocal
+ libtoolize
+ autoreconf --install
+ 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"
+ make DESTDIR="$pkgdir" install
+}
+