2017-11-24 10:24:25 +00:00

45 lines
1.1 KiB
Plaintext

# Automatically generated by apkbuild-cpan, template 1
# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman@gmail.com>
pkgname=perl-object-insideout
_pkgreal=Object-InsideOut
pkgver=4.04
pkgrel=0
pkgdesc="Comprehensive inside-out object support module"
url="http://search.cpan.org/dist/Object-InsideOut/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends="perl-exception-class perl-module-build"
cpanmakedepends=""
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/J/JD/JDHEDDEN/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
default_prepare
cd "$builddir"
perl Build.PL installdirs=vendor
}
build() {
cd "$builddir"
./Build
}
check() {
cd "$builddir"
./Build test
}
package() {
cd "$builddir"
./Build install destdir="$pkgdir"
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="4452d642f5d750cd3059dd7eba53fbafff2918ee2846632748b6794a562c3fcb4bdb26d2a81051f18d6fc732a9af1477ddb151a315cfcd4d3d9e2f070f8c5cee Object-InsideOut-4.04.tar.gz"