summaryrefslogtreecommitdiff
path: root/community/perl-class-methodmaker/PKGBUILD
blob: 9896a9d330bbfc2e8ab4da86bef5d1a66a485050 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# $Id: PKGBUILD 47471 2011-05-23 15:46:41Z tdziedzic $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: François Charette <firmicus ατ gmx δοτ net>

pkgname=perl-class-methodmaker
pkgver=2.18
pkgrel=4
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
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}