PKGBUILDs/community/perl-authen-radius/PKGBUILD
2009-10-09 21:15:33 -05:00

23 lines
758 B
Bash

# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=perl-authen-radius
pkgver=0.13
pkgrel=1
pkgdesc=""
arch=('i686' 'x86_64')
url="http://search.cpan.org/dist/RadiusPerl"
license=('GPL' 'PerlArtistic')
depends=('perl-data-hexdump>=0.02')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/M/MA/MANOWAR/RadiusPerl-$pkgver.tar.gz)
md5sums=('bbe01758d4af1ccbdcb83fe061eb2799')
build() {
cd $startdir/src/Authen-Radius-$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
}