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')
15 options=('!emptydirs')
16 source=("https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/Alien-Build-$pkgver.tar.gz")
17 sha512sums=('d6519bd65bf11932700f6fdf3c4e0b92ea43b1ab814dcff152338f92e90e0147b82ab4498a95c1627285e854c07b6be9f11694d12c537bd861d0e065d57472ef')
20 cd Alien-Build-$pkgver
21 perl Makefile.PL INSTALLDIRS=vendor
26 cd Alien-Build-$pkgver
31 cd Alien-Build-$pkgver
32 make DESTDIR="$pkgdir" install