blob: e667cf80bd93b6159a7ea2b2d51c7d8034eccdf3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Contributor: Dan Theisen <djt@hxx.in>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-devel-checkcompiler
_pkgreal=Devel-CheckCompiler
_author=SYOHEX
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.07
pkgrel=0
pkgdesc="Check the compiler's availability"
url="https://metacpan.org/pod/Devel::CheckCompiler"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-1.0+"
depends="perl"
makedepends="perl-dev perl-module-build-tiny"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
perl Build.PL --destdir="$pkgdir" --prefix="/usr" --installdirs=vendor
./Build
}
check() {
./Build test
}
package() {
./Build install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="147fbdab382ff40bf1402d2d6be1143fe77403cd2444e854fdf11eb02e8acdcab8cb6bbdd7f3aef01cc64fac2862efaa044c5148c7770b84b464f7360c399d7a Devel-CheckCompiler-0.07.tar.gz"
|