CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
util-linux: updated to 2.38
[ports/core-arm.git] / linux-pam / Pkgfile
index fd51efd667abc94777180bbba9c17ae7dbd2f203..fb36654e2ef7031a167f88cd7d1c69898f53a92a 100644 (file)
@@ -5,7 +5,7 @@
 
 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)
@@ -18,9 +18,12 @@ build() {
               --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 +32,5 @@ build() {
     $SRC/{common-*,other} \
     $PKG/etc/pam.d/
 
-  rm -r $PKG/usr/share/doc
+  rm -r $PKG/usr/{lib/systemd,share/doc}
 }