summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0f59ad5db458c7d3c5d79fa8877caf2187e287ac (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
35
36
37
# Maintainer: Jakob Gahde <j5lx@fmail.co.uk>
# Contributor: Thiago L. A. Miller <thiago_leisrael@hotmail.com>
# Contributor: John D Jones III AKA jnbek <jnbek1972 -_AT_- g m a i l -_Dot_- com>

pkgname=perl-config-mvp
pkgver=2.200013
pkgrel=1
pkgdesc="Multivalue-property package-oriented configuration"
arch=('any')
url="https://metacpan.org/dist/Config-MVP"
license=('PerlArtistic' 'GPL')
depends=('perl' 'perl-class-load' 'perl-module-pluggable' 'perl-moose'
         'perl-moosex-oneargnew' 'perl-params-util' 'perl-role-hasmessage'
         'perl-role-identifiable' 'perl-throwable' 'perl-tie-ixhash'
         'perl-try-tiny')
checkdepends=('perl-test-fatal')
source=("https://www.cpan.org/modules/by-module/Config/Config-MVP-${pkgver}.tar.gz")
sha512sums=('aae4431a559f62332f5d7072d799ad5eaea9baf978a4145228dbfd80617e0131b9a80d2033a65da735a01abb4f40ce599b306e721dd4b3e98d6a56d984b21fd7')

build() {
  cd "${srcdir}/Config-MVP-${pkgver}"

  perl Makefile.PL NO_PACKLIST=true NO_PERLLOCAL=true
  make
}

check() {
  cd "${srcdir}/Config-MVP-${pkgver}"

  make test
}

package() {
  cd "${srcdir}/Config-MVP-${pkgver}"

  make install INSTALLDIRS=vendor DESTDIR="${pkgdir}"
}