blob: bbbdc19ca825600642c486d5952a997f0c7a4396 (
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
|
# Maintainer: Jakob Gahde <j5lx@fmail.co.uk>
# Contributor: John D Jones III AKA jnbek <jnbek1972 -_AT_- g m a i l -_Dot_- com>
pkgname=perl-sub-exporter-formethods
pkgver=0.100055
pkgrel=1
pkgdesc="Helper routines for using Sub::Exporter to build methods"
arch=('any')
url="https://metacpan.org/dist/Sub-Exporter-ForMethods"
license=('PerlArtistic' 'GPL')
depends=('perl-sub-exporter')
checkdepends=('perl-namespace-autoclean')
source=("https://www.cpan.org/modules/by-module/Sub/Sub-Exporter-ForMethods-${pkgver}.tar.gz")
sha512sums=('d4e2a02d7628f5d51b3d17937ba3f14ae4efead8e1ca298ae7c901e15177fa2e6df4367543303f21307137d857e232190a8b2c286ff6fe64fbae11e26172868d')
build() {
cd "${srcdir}/Sub-Exporter-ForMethods-${pkgver}"
perl Makefile.PL NO_PACKLIST=true NO_PERLLOCAL=true
make
}
check() {
cd "${srcdir}/Sub-Exporter-ForMethods-${pkgver}"
make test
}
package() {
cd "${srcdir}/Sub-Exporter-ForMethods-${pkgver}"
make install INSTALLDIRS=vendor DESTDIR="${pkgdir}"
}
|