blob: 02b5d82c97ae2b188b0697baea73724d2c80a3e1 (
plain)
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
35
36
|
# Automatically generated by apkbuild-cpan, template 2
# Contributor: Timothy Legge <timlegge@gmail.com>
# Maintainer: Timothy Legge <timlegge@gmail.com>
pkgname=perl-moosex-types-path-class
_pkgreal=MooseX-Types-Path-Class
pkgver=0.09
pkgrel=1
pkgdesc="A Path::Class type library for Moose"
url="https://metacpan.org/release/MooseX-Types-Path-Class/"
arch="noarch"
license="GPL-1.0-or-later Artistic-1.0-Perl"
cpandepends="perl-path-class perl-moosex-types"
cpancheckdepends="perl-test-needs"
depends="$cpandepends"
makedepends="perl-devel-overloadinfo perl-module-build-tiny perl-dev"
checkdepends="$cpancheckdepends"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/E/ET/ETHER/MooseX-Types-Path-Class-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
perl Build.PL --installdirs=vendor
./Build
}
check() {
./Build test
}
package() {
./Build install --destdir="$pkgdir"
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="d61f72957431852903d99257b2d9f53f88702d4d314297192345896aeb1df86ab4d80767a1d0fad76fb23b561925aae076bfda80106e3f7d0f2d8093956bdc9e MooseX-Types-Path-Class-0.09.tar.gz"
|