PKGBUILDs/community/perl-ldap/PKGBUILD

24 lines
770 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Tom K <tomk@runbox.com>
pkgname=perl-ldap
pkgver=0.39
pkgrel=1.1
pkgdesc="Interface to LDAP Protocol (RFC1777)"
arch=('i686' 'x86_64')
url="http://search.cpan.org/dist/perl-ldap"
depends=('perl-convert-asn1' 'perl-xml-sax-writer')
license=("GPL")
source=(http://www.cpan.org/authors/id/G/GB/GBARR/perl-ldap-$pkgver.tar.gz)
build() {
cd $startdir/src/perl-ldap-$pkgver
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
make install DESTDIR=$startdir/pkg || return 1
find $startdir/pkg -name '.packlist' -delete
find $startdir/pkg -name '*.pod' -delete
}
md5sums=('0c31097aa22672a2831a7542250d1b55')