From 9e0c789864d204ab7fd0787981b8e08829026db6 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Wed, 22 Sep 2021 21:53:55 +0200 Subject: [PATCH] linux-pam: move pkgconfig files from /lib to /usr/lib --- linux-pam/Pkgfile | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/linux-pam/Pkgfile b/linux-pam/Pkgfile index 743ad86..20b3455 100644 --- a/linux-pam/Pkgfile +++ b/linux-pam/Pkgfile @@ -5,22 +5,26 @@ name=linux-pam version=1.5.2 -release=1 +release=2 source=(https://github.com/$name/$name/releases/download/v${version}/Linux-PAM-$version.tar.xz \ common-account common-auth common-password common-session \ other) build() { cd Linux-PAM-$version - CONFIG_SHELL=/bin/bash ./configure --prefix=/usr \ - --libdir=/lib \ - --disable-nis \ - --disable-nls \ - --disable-prelude \ - --enable-db=no + CONFIG_SHELL=/bin/bash ./configure \ + --prefix=/usr \ + --libdir=/lib \ + --disable-nis \ + --disable-nls \ + --disable-prelude \ + --enable-db=no + make make DESTDIR=$PKG install + mv $PKG/lib/pkgconfig $PKG/usr/lib + # unix_chkpwd needs to be setuid root chmod u+s $PKG/sbin/unix_chkpwd @@ -29,5 +33,5 @@ build() { $SRC/{common-*,other} \ $PKG/etc/pam.d/ - rm -r $PKG/usr/{lib,share/doc} + rm -r $PKG/usr/{lib/systemd,share/doc} } -- 2.26.2