aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-module-runtime-conflicts/APKBUILD
blob: f87c9154e1f482901227c8731bf402d16908f106 (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
41
42
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-module-runtime-conflicts
_pkgreal=Module-Runtime-Conflicts
pkgver=0.003
pkgrel=1
pkgdesc="Provide information on conflicts for Module::Runtime"
url="http://search.cpan.org/dist/Module-Runtime-Conflicts/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends="perl-module-runtime perl-dist-checkconflicts"
cpanmakedepends=""
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/$_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
}

check() {
        cd "$builddir"
        make test
}

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

sha512sums="1b72ea7cc9516721290d5ea433169697b4134b5fc77872d6822e4c395a154bf956d469ab5da2802d587d60dfb13b9784014fe492988cf3f8b5820da2d63e8ca1  Module-Runtime-Conflicts-0.003.tar.gz"