aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-package-stash/APKBUILD
blob: 41bc84c3dc3e34f0bf50abac4f8671a6169595c3 (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
35
36
37
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-package-stash
_pkgreal=Package-Stash
pkgver=0.38
pkgrel=1
pkgdesc="routines for manipulating stashes"
url="http://search.cpan.org/dist/Package-Stash/"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
cpandepends="perl-dist-checkconflicts perl-package-stash-xs perl-module-implementation"
cpanmakedepends="perl-test-fatal perl-test-requires perl-yaml perl-sub-name"
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
checkdepends="perl-package-anon"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/E/ET/ETHER/Package-Stash-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"

build() {
	cd "$builddir"
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
	make
}

check() {
	cd "$builddir"
	make test
}
package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="4846953a845727d2b987a4625fc96e18c7d68a365ac8dbacfa21388b0a063ebac9c91e43190dc4f91af4b3adca508b32a6c7ec18213096622162c06c11cbb611  Package-Stash-0.38.tar.gz"