diff options
author | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
commit | 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch) | |
tree | 03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/perl-class-methodmaker/PKGBUILD | |
parent | e445a313723389ba9ee1fded025c567dae5b21ea (diff) |
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/perl-class-methodmaker/PKGBUILD')
-rw-r--r-- | community/perl-class-methodmaker/PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/community/perl-class-methodmaker/PKGBUILD b/community/perl-class-methodmaker/PKGBUILD new file mode 100644 index 000000000..1304b3d3d --- /dev/null +++ b/community/perl-class-methodmaker/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 91657 2013-05-26 09:24:47Z bluewind $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: François Charette <firmicus ατ gmx δοτ net> + +pkgname=perl-class-methodmaker +pkgver=2.18 +pkgrel=7 +pkgdesc="Create generic class methods" +arch=('i686' 'x86_64') +url="http://search.cpan.org/dist/Class-MethodMaker" +license=('GPL' 'PerlArtistic') +depends=('perl>=5.10.0') +options=('!emptydirs') +source=("http://search.cpan.org/CPAN/authors/id/S/SC/SCHWIGON/Class-MethodMaker-${pkgver}.tar.gz") +md5sums=('99435d78e0a1754b102fe39597c6c3df') + +build() { + cd $srcdir/Class-MethodMaker-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd $srcdir/Class-MethodMaker-$pkgver + make install DESTDIR=$pkgdir + find $pkgdir -name '.packlist' -delete + find $pkgdir -name '*.pod' -delete +} |