Commit 2f421c04 authored by Natanael Copa's avatar Natanael Copa

testing/perl-class-mix: new aport

dynamic class mixing
http://search.cpan.org/dist/Class-Mix/
parent 57f00d31
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-class-mix
_pkgreal=Class-Mix
pkgver=0.005
pkgrel=0
pkgdesc="dynamic class mixing"
url="http://search.cpan.org/dist/Class-Mix/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends="perl-params-classify"
cpanmakedepends=" "
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/Z/ZE/ZEFRAM/$_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="7d6c4e70dea13678d845898a4a1565c0 Class-Mix-0.005.tar.gz"
sha256sums="054d0db62df90f22601f2a18fc84e9ca026d81601f5940b2fcc543e39d69b36b Class-Mix-0.005.tar.gz"
sha512sums="9486a8ec4f6b1a5483610cdac110eed219bb849e8895a350309167206f8caef4209abbbc340a467f4c3b2ca3afc6e2b49b66601110517b66684689f4d88d20c9 Class-Mix-0.005.tar.gz"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment