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

22 lines
795 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>
pkgname=perl-data-structure-util
pkgver=0.15
pkgrel=1
pkgdesc="Perl/CPAN Module Data::Structure::Util"
arch=("i686" "x86_64")
url="http://search.cpan.org/dist/Data-Structure-Util"
license=("GPL" "PerlArtistic")
source=("http://search.cpan.org/CPAN/authors/id/A/AN/ANDYA/Data-Structure-Util-$pkgver.tar.gz")
build() {
cd $startdir/src/Data-Structure-Util-$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=('e12ba777c0abfbd79a131de28d542359')