PKGBUILDs/community/perl-data-hierarchy/PKGBUILD
2009-10-09 21:15:33 -05:00

22 lines
792 B
Bash

# This PKGBUILD was autocreated. See http://xtermin.us/archperl/ for details
# Maintainer: Charles Mauch <cmauch@gmail.com>
pkgname=perl-data-hierarchy
pkgver=0.34
pkgrel=3
pkgdesc="Perl/CPAN Module Data::Hierarchy"
arch=("i686" "x86_64")
url="http://search.cpan.org/dist/Data-Hierarchy"
license=("GPL" "Artistic")
source=("http://www.cpan.org/authors/id/C/CL/CLKAO/Data-Hierarchy-0.34.tar.gz")
md5sums=("f4ac04c7f676cbfff9bbd1be118d4c66")
makedepends=("perl-test-exception")
depends=("perl-test-exception")
build() {
cd $startdir/src/Data-Hierarchy-0.34
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
}