aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-package-deprecationmanager/APKBUILD
blob: 8d7c71b07e8b57671546020c77183195fea5d00d (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-deprecationmanager
_pkgreal=Package-DeprecationManager
pkgver=0.15
pkgrel=0
pkgdesc="Manage deprecation warnings for your distribution"
url="http://search.cpan.org/dist/Package-DeprecationManager/"
arch="noarch"
license="Artistic-2"
cpandepends="perl-list-moreutils perl-sub-install perl-params-util perl-test-fatal 
	perl-test-requires perl-package-stash perl-test-warnings"
cpanmakedepends=""
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/$_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="121b7ab5aa5fe06f79670f4bb78c808e  Package-DeprecationManager-0.15.tar.gz"
sha256sums="65c871f00849ba6a3369b3e4a5f206504e51bfb8eb2d2631fe2e18483fc29d61  Package-DeprecationManager-0.15.tar.gz"
sha512sums="644aae95e7124f91dab9ab71e20679a310df869dc970ee3b180d8274657226d9ad91c79d56222f6b30ad026e92f4d86609b8933ce3fc1298247da15f4a5c542b  Package-DeprecationManager-0.15.tar.gz"