Date: Sunday, May 29, 2022 @ 10:31:37 Author: felixonmars Revision: 1214211
archrelease: copy trunk to community-staging-any Added: perl-ldap/repos/community-staging-any/ perl-ldap/repos/community-staging-any/PKGBUILD (from rev 1214210, perl-ldap/trunk/PKGBUILD) ----------+ PKGBUILD | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) Copied: perl-ldap/repos/community-staging-any/PKGBUILD (from rev 1214210, perl-ldap/trunk/PKGBUILD) =================================================================== --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2022-05-29 10:31:37 UTC (rev 1214211) @@ -0,0 +1,27 @@ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Maintainer: Tom K <t...@runbox.com> + +pkgname=perl-ldap +pkgver=0.68 +pkgrel=2 +pkgdesc="Interface to LDAP Protocol (RFC1777)" +arch=('any') +url="https://search.cpan.org/dist/perl-ldap" +depends=('perl-convert-asn1' 'perl-xml-sax-writer' 'perl-text-soundex') +license=("GPL") +source=(https://search.cpan.org/CPAN/authors/id/M/MA/MARSCHAP/perl-ldap-$pkgver.tar.gz) +sha512sums=('9b6260ac997c3279585745571f7d825aac956f157aef5715f13efb118723379aa9c838fdc123e2932047b28b38ebc2261ebe82ae1ef6a1f383b775d748ff18c6') + +build() { + cd "$srcdir"/perl-ldap-$pkgver + PERL_USE_UNSAFE_INC=1 \ + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd "$srcdir"/perl-ldap-$pkgver + make install DESTDIR="$pkgdir" + find "$pkgdir" -name '.packlist' -delete + find "$pkgdir" -name '*.pod' -delete +}