diff options
Diffstat (limited to 'community/perl-data-structure-util/PKGBUILD')
-rw-r--r-- | community/perl-data-structure-util/PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/community/perl-data-structure-util/PKGBUILD b/community/perl-data-structure-util/PKGBUILD new file mode 100644 index 000000000..00d73ae7e --- /dev/null +++ b/community/perl-data-structure-util/PKGBUILD @@ -0,0 +1,26 @@ +# $Id: PKGBUILD 91662 2013-05-26 09:24:54Z bluewind $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Maintainer: Charles Mauch <cmauch@gmail.com> + +pkgname=perl-data-structure-util +pkgver=0.15 +pkgrel=7 +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") +md5sums=('e12ba777c0abfbd79a131de28d542359') + +build() { + cd $srcdir/Data-Structure-Util-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd $srcdir/Data-Structure-Util-$pkgver + make install DESTDIR=$pkgdir + find $pkgdir -name '.packlist' -delete + find $pkgdir -name '*.pod' -delete +} |