aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-package-stash/APKBUILD
blob: 4928b5855989f1494d5739fc887a4ac9189410a2 (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
37
38
39
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=perl-package-stash
_pkgreal=Package-Stash
pkgver=0.37
pkgrel=0
pkgdesc="routines for manipulating stashes"
url="http://search.cpan.org/dist/Package-Stash/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends="perl-dist-checkconflicts perl-package-stash-xs perl-module-implementation"
cpanmakedepends="perl-test-fatal perl-test-requires  perl-test-fatal perl-test-requires "
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/D/DO/DOY/$_pkgreal-$pkgver.tar.gz"

_builddir="$srcdir/$_pkgreal-$pkgver"

prepare() {
	cd "$_builddir"
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}

build() {
	cd "$_builddir"
	make && make test
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

md5sums="7e47a8261312e1cf3d12bd2007916b66  Package-Stash-0.37.tar.gz"
sha256sums="06ab05388f9130cd377c0e1d3e3bafeed6ef6a1e22104571a9e1d7bfac787b2c  Package-Stash-0.37.tar.gz"
sha512sums="d10321903591568d4ac4db91ad9e4dfcffe564ab22a5ecdd8fa103749c9708da082ffb3ca478e98ac120a23e51c0ab0ccf799c0da10fe2be194e9cace1f16b06  Package-Stash-0.37.tar.gz"