# Maintainer: Natanael Copa pkgname=nss-pam-ldapd pkgver=0.9.10 pkgrel=0 pkgdesc="An nsswitch module which uses directory servers" url="https://arthurdejong.org/nss-pam-ldapd/" arch="all" license="LGPL-2.0-or-later" depends_dev="linux-pam-dev openldap-dev" makedepends="$depends_dev" install="nss-pam-ldapd.pre-install" subpackages="$pkgname-doc $pkgname-openrc" source="https://arthurdejong.org/nss-pam-ldapd/nss-pam-ldapd-$pkgver.tar.gz nslcd.initd" build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var \ --disable-nss make } package() { cd "$builddir" make DESTDIR="$pkgdir" install install -Dm755 "$srcdir"/nslcd.initd "$pkgdir"/etc/init.d/nslcd } sha512sums="be559bc0d60bcf25af94919d456922bee4abb2c0417a8d2daf954d9aa9af2d41cb06a20cef04d9afd61c1316a744331753ee1cb25ef4a9c5411c508193231218 nss-pam-ldapd-0.9.10.tar.gz 26db842fd517ccc0b242677d6e92c2fe66028e441681c8e6129150e81c93a282ae0c3142230f61b579f40596c2843ca1f2217d46f9d8fb3ba4b117896912355b nslcd.initd"