OCaml 4.14.0 rebuild
[arch-packages.git] / perl-alien-build / trunk / PKGBUILD
blob508c0719b66d7eaed2197c22ad54479a08229b01
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=perl-alien-build
4 pkgver=2.51
5 pkgrel=1
6 pkgdesc="Build external dependencies for use in CPAN"
7 arch=('any')
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'
11          'perl-path-tiny')
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')
19 build() {
20   cd Alien-Build-$pkgver
21   perl Makefile.PL INSTALLDIRS=vendor
22   make
25 check() {
26   cd Alien-Build-$pkgver
27   make test
30 package() {
31   cd Alien-Build-$pkgver
32   make DESTDIR="$pkgdir" install