summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-sub-exporter-progressive/PKGBUILD
blob: 22e1baa01560830176fc5f616e3e82807af79f48 (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
# $Id$
# Maintainer: Jonathan Steel <jsteel@aur.archlinux.org>
# Contributor: Alan Young <harleypig@gmail.com>

pkgname=perl-sub-exporter-progressive
pkgver=0.001013
pkgrel=3
pkgdesc="Only use Sub::Exporter if you need it"
arch=('any')
url="http://search.cpan.org/dist/Sub-Exporter-Progressive"
license=('PerlArtistic' 'GPL')
options=('!emptydirs')
source=(http://search.cpan.org/CPAN/authors/id/F/FR/FREW/Sub-Exporter-Progressive-$pkgver.tar.gz)
md5sums=('72cf6acdd2a0a8b105821a4db98e4ebe')

build() {
  cd "$srcdir"/Sub-Exporter-Progressive-$pkgver
  perl Makefile.PL INSTALLDIRS=vendor
  make
}

check() {
  cd "$srcdir"/Sub-Exporter-Progressive-$pkgver
  make test
}

package() {
  cd "$srcdir"/Sub-Exporter-Progressive-$pkgver
  make DESTDIR="$pkgdir" install
}