[arch-commits] Commit in pam_mount/repos (2 files)

Antonio Rojas arojas at archlinux.org
Fri May 22 20:22:38 UTC 2020


    Date: Friday, May 22, 2020 @ 20:22:38
  Author: arojas
Revision: 631698

archrelease: copy trunk to community-staging-x86_64

Added:
  pam_mount/repos/community-staging-x86_64/
  pam_mount/repos/community-staging-x86_64/PKGBUILD
    (from rev 631697, pam_mount/trunk/PKGBUILD)

----------+
 PKGBUILD |   40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

Copied: pam_mount/repos/community-staging-x86_64/PKGBUILD (from rev 631697, pam_mount/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-05-22 20:22:38 UTC (rev 631698)
@@ -0,0 +1,40 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Sirius Bakke <sirius\at/nonline.org>
+
+pkgname=pam_mount
+pkgver=2.16
+pkgrel=6
+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 cryptsetup)
+backup=('etc/security/pam_mount.conf.xml')
+options=(!emptydirs)
+source=("https://downloads.sourceforge.net/project/pam-mount/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz"{,.asc})
+sha256sums=('ae0207ea6c96189414f906a7b0880abc7751a98e26b3d0375c9afab3722471e7'
+            'SKIP')
+validpgpkeys=(2F8BFE96D14F8B560FBC1F1DA28BDFEEB5A2B2FF) # Jan Engelhardt <jengelh at inai.de>
+
+build() {
+  cd $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
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool # Fix overlinking
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}


More information about the arch-commits mailing list