diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/perl-list-moreutils/PKGBUILD |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/perl-list-moreutils/PKGBUILD')
-rw-r--r-- | community/perl-list-moreutils/PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/community/perl-list-moreutils/PKGBUILD b/community/perl-list-moreutils/PKGBUILD new file mode 100644 index 000000000..ffcff2b04 --- /dev/null +++ b/community/perl-list-moreutils/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: François Charette <firmicus ατ gmx δοτ net> + +pkgname=perl-list-moreutils +_cpanname=List-MoreUtils +pkgver=0.22 +pkgrel=5 +pkgdesc="Provide the stuff missing in List::Util" +arch=('i686' 'x86_64') +url="http://search.cpan.org/dist/List-MoreUtils" +license=('GPL' 'PerlArtistic') +depends=('perl') +options=('!emptydirs') +source=(http://www.cpan.org/authors/id/V/VP/VPARSEVAL/${_cpanname}-$pkgver.tar.gz) +md5sums=('3a6ec506f40662ab1296c48c5eb72016') + +build() { + cd $srcdir/${_cpanname}-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd $srcdir/${_cpanname}-$pkgver + make install DESTDIR=$pkgdir + find $pkgdir -name '.packlist' -delete + find $pkgdir -name '*.pod' -delete +} |