1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=perl-alien-build
6 pkgdesc="Build external dependencies for use in CPAN"
8 license=('PerlArtistic')
9 url="https://metacpan.org/release/Alien-Build"
10 depends=('perl-capture-tiny' 'perl-ffi-checklib' 'perl-file-chdir' 'perl-file-which'
12 makedepends=('perl-test2-suite')
13 checkdepends=('perl-alien-base-modulebuild' 'perl-alien-cmake3' 'perl-env-shellwords'
14 'perl-pkgconfig' 'perl-pkgconfig-libpkgconf' 'perl-readonly' 'perl-sort-versions'
16 options=('!emptydirs')
17 source=("https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/Alien-Build-$pkgver.tar.gz")
18 sha512sums=('1947d46d3a95ca3ed42ad3f1ae69eb487a2ff7322188ab9b03ddfba691044378b31a5cbee1ef52731ff7b690049e34e9d948ea4144d263f947275bd3703f91f6')
21 cd Alien-Build-$pkgver
22 perl Makefile.PL INSTALLDIRS=vendor
27 cd Alien-Build-$pkgver
32 cd Alien-Build-$pkgver
33 make DESTDIR="$pkgdir" install