PKGBUILDs/community/perl-http-lite/PKGBUILD

22 lines
701 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# This PKGBUILD was autocreated. See http://xtermin.us/archperl/ for details
# Maintainer: Charles Mauch <cmauch@gmail.com>
pkgname=perl-http-lite
pkgver=2.2
pkgrel=1
pkgdesc="Perl/CPAN Module HTTP::Lite"
arch=(any)
url="http://search.cpan.org/dist/HTTP-Lite"
license=("GPL" "Artistic")
source=("http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/HTTP-Lite-$pkgver.tar.gz")
md5sums=('149651593132db8f3b06349a67cab77f')
build() {
cd $startdir/src/HTTP-Lite-$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
}