OCaml 4.13.1 rebuild
[arch-packages.git] / perl-extutils-libbuilder / repos / extra-any / PKGBUILD
blob584f7c6c3e0fcceb1b52b7f40429e33294f9d0dc
1 # Maintainer: Rémy Oudompheng <remy@archlinux.org>
3 pkgname='perl-extutils-libbuilder'
4 _dist="ExtUtils-LibBuilder"
5 pkgver=0.08
6 pkgrel=8
7 pkgdesc="A tools to build C libraries"
8 arch=('any')
9 license=('PerlArtistic' 'GPL')
10 options=('!emptydirs')
11 depends=('perl')
12 makedepends=('perl-module-build')
13 url="https://metacpan.org/release/${_dist}"
14 source=("https://search.cpan.org/CPAN/authors/id/A/AM/AMBS/${_dist}-${pkgver}.tar.gz")
15 sha1sums=('c15d93062c43bc83e1b3b0d52869bb0aa6919f2b')
17 build() {
18     cd "${srcdir}/${_dist}-${pkgver}"
19     unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
20     perl Build.PL
21     ./Build
24 check() {
25     cd "${srcdir}/${_dist}-${pkgver}"
26     unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
27     ./Build test
30 package() {
31     cd "${srcdir}/${_dist}-${pkgver}"
32     unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
33     ./Build install installdirs=vendor destdir="$pkgdir"