aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-module-runtime-conflicts/APKBUILD
blob: ce85dc1e23067af20f270e85d4e4486815c5b3f1 (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
# 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.001
pkgrel=0
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"
	export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
	perl Build.PL installdirs=vendor || return 1
}

build() {
	cd "$_builddir"
	export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
	./Build && ./Build test
}

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

md5sums="310e525981ac1338f247626b8ce53dff  Module-Runtime-Conflicts-0.001.tar.gz"
sha256sums="0f73d03846575dd1492d3760deeb9627afaa1f8b04d4d526b1775174201be25f  Module-Runtime-Conflicts-0.001.tar.gz"
sha512sums="67d39313027a9099b11726caa9c0f09fc157757493b06019b3004464a25c6c1a2f21f16f32860172556ce8f6bea891c5ac18f6c00250a45a380662504699b3e9  Module-Runtime-Conflicts-0.001.tar.gz"