blob: f8c4dfc1ceb7dd2d6bac64c3e5352e2b646f62ab (
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
32
33
34
|
# Maintainer (Arch): Jason St. John <jstjohn .. purdue . edu>
# Contributor (Arch): Caleb Cushing <xenoterracide@gmail.com>
# Contributor : Márcio Silva <coadde@parabola.nu>
_perlmod=Regexp-Common
_modnamespace=Regexp
pkgname=perl-regexp-common
pkgver=2013031301
pkgrel=4
pkgdesc="Regexp::Common - Provides commonly requested regular expressions"
arch=('any')
url="http://search.cpan.org/dist/${_perlmod}"
license=('MIT')
options=('!emptydirs')
source=("http://cpan.org/modules/by-module/${_modnamespace}/${_perlmod}-${pkgver}.tar.gz")
sha512sums=('2fad761c169be76771856938a53f28dab232cb44cea4e22f56869754633f9a38f94568096ac0f21a885e6dd11049f401c8957b04929eee6802b8454c4fe4f62a')
build() {
cd "${_perlmod}-${pkgver}"
# Install module in vendor directories.
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
cd "${_perlmod}-${pkgver}"
make test
}
package() {
cd "${_perlmod}-${pkgver}"
make install DESTDIR="${pkgdir}"
}
|