aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-package-stash/APKBUILD
blob: cceebd083e8ea09b6994b42d29de294c8bbb7cbb (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
40
# 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.34
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-deprecationmanager
	perl-module-implementation"
cpanmakedepends=""
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="d85874dc8abada51b8d7870d8728e3b7  Package-Stash-0.34.tar.gz"
sha256sums="46e6e803c082af9fb4b5b60c242250d33af2316eb3a36df46703376b92fee498  Package-Stash-0.34.tar.gz"
sha512sums="e48d37d43699857d2fb5f42aaeade20426e8f83815c99820aaa2d5d812a653bfd9490ad7642d43df5188b1413827233521601251d49abf3286c3c7ce7600f215  Package-Stash-0.34.tar.gz"