102.11.0-1
[arch-packages.git] / perl-alien-build / repos / extra-any / PKGBUILD
blob5840aef8903dafcf85b2bf34fc1df5ea6f1c39b3
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=perl-alien-build
4 pkgver=2.78
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               'wget')
16 options=('!emptydirs')
17 source=("https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/Alien-Build-$pkgver.tar.gz")
18 sha512sums=('1947d46d3a95ca3ed42ad3f1ae69eb487a2ff7322188ab9b03ddfba691044378b31a5cbee1ef52731ff7b690049e34e9d948ea4144d263f947275bd3703f91f6')
20 build() {
21   cd Alien-Build-$pkgver
22   perl Makefile.PL INSTALLDIRS=vendor
23   make
26 check() {
27   cd Alien-Build-$pkgver
28   make test
31 package() {
32   cd Alien-Build-$pkgver
33   make DESTDIR="$pkgdir" install