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 e4e00ef1575fff0764bd0ea096ace4d8a9c61f0c..fb36654e2ef7031a167f88cd7d1c69898f53a92a 100644 (file)
@@ -1,10 +1,11 @@
 # Description: Pluggable Authentication Modules (PAM) for Linux
 # URL: http://www.linux-pam.org/
 # Maintainer: CRUX System Team, core-ports at crux dot nu
+# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
 
 name=linux-pam
-version=1.3.1
-release=1
+version=1.5.2
+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)
@@ -17,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
 
@@ -28,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}
 }