2014-10-27 07:32:26 +00:00

42 lines
1.5 KiB
Plaintext

# 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"