Date: Saturday, May 9, 2020 @ 10:48:28 Author: arojas Revision: 625932
BUILDINFO rebuild, fix overlinking Modified: pam_mount/trunk/PKGBUILD ----------+ PKGBUILD | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-05-09 10:43:00 UTC (rev 625931) +++ PKGBUILD 2020-05-09 10:48:28 UTC (rev 625932) @@ -4,12 +4,12 @@ pkgname=pam_mount pkgver=2.16 -pkgrel=4 +pkgrel=5 pkgdesc="A PAM module that can mount volumes for a user session" -arch=('x86_64') +arch=(x86_64) url="http://pam-mount.sourceforge.net/" -license=('GPL') -depends=('pcre' 'util-linux' 'libhx' 'libxml2' 'openssl' 'cryptsetup') +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}) @@ -18,7 +18,7 @@ validpgpkeys=(2F8BFE96D14F8B560FBC1F1DA28BDFEEB5A2B2FF) # Jan Engelhardt <jeng...@inai.de> build() { - cd -- "$srcdir/$pkgname-$pkgver" + cd $pkgname-$pkgver aclocal libtoolize automake --add-missing @@ -30,10 +30,11 @@ --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 -- "$srcdir/$pkgname-$pkgver" + cd $pkgname-$pkgver make DESTDIR="$pkgdir" install }