archrelease: copy trunk to community-any
[ArchLinux/community.git] / perl-ldap / trunk / PKGBUILD
blob544f59db92ad6a5b82d2c4bcf210163a5c3ee765
1 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
2 # Maintainer: Tom K <tomk@runbox.com>
4 pkgname=perl-ldap
5 pkgver=0.68
6 pkgrel=2
7 pkgdesc="Interface to LDAP Protocol (RFC1777)"
8 arch=('any')
9 url="https://search.cpan.org/dist/perl-ldap"
10 depends=('perl-convert-asn1' 'perl-xml-sax-writer' 'perl-text-soundex')
11 license=("GPL")
12 source=(https://search.cpan.org/CPAN/authors/id/M/MA/MARSCHAP/perl-ldap-$pkgver.tar.gz)
13 sha512sums=('9b6260ac997c3279585745571f7d825aac956f157aef5715f13efb118723379aa9c838fdc123e2932047b28b38ebc2261ebe82ae1ef6a1f383b775d748ff18c6')
15 build() {
16   cd  "$srcdir"/perl-ldap-$pkgver
17   PERL_USE_UNSAFE_INC=1 \
18   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
19   make
22 package() {
23   cd  "$srcdir"/perl-ldap-$pkgver
24   make install DESTDIR="$pkgdir"
25   find "$pkgdir" -name '.packlist' -delete
26   find "$pkgdir" -name '*.pod' -delete