summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-module-build/PKGBUILD
blob: 96712a75f19c06b71e481170b580fab41751df3c (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
25
26
27
28
29
30
31
# $Id: PKGBUILD 166452 2012-09-08 01:51:46Z eric $
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributor : Alan Young <harleypig@gmail.com>

pkgname=perl-module-build
pkgver=0.4003
pkgrel=1
pkgdesc="Build, test, and install Perl modules"
arch=('any')
license=('PerlArtistic' 'GPL')
url='http://search.cpan.org/dist/Module-Build'
depends=('perl>=5.6.1')
options=('!emptydirs')
source=(http://search.cpan.org/CPAN/authors/id/L/LE/LEONT/Module-Build-$pkgver.tar.gz)
md5sums=('ed5fe7e023af43b0722639b13ece8d2d')

build() {
  cd Module-Build-$pkgver
  perl Build.PL installdirs=vendor
  perl Build
}

check() {
  cd Module-Build-$pkgver
  perl Build test
}

package() {
  cd Module-Build-$pkgver
  perl Build install destdir="$pkgdir"
}