APKBUILD 1.28 KB
Newer Older
1 2 3 4 5
# 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
6
pkgver=4.02
7 8 9 10 11
pkgrel=0
pkgdesc="Comprehensive inside-out object support module"
url="http://search.cpan.org/dist/Object-InsideOut/"
arch="noarch"
license="GPL PerlArtistic"
12
cpandepends="perl-exception-class perl-module-build"
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
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() {
	cd "$_builddir"
	perl Build.PL installdirs=vendor || return 1
}

build() {
	cd "$_builddir"
	./Build && ./Build test
}

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

37 38 39
md5sums="aca3e8b0b15423d22ddfc95868ba5d00  Object-InsideOut-4.02.tar.gz"
sha256sums="e38a2435325d00427977b2fb89b54e61aedcf56f49a0236473ca995967b713ec  Object-InsideOut-4.02.tar.gz"
sha512sums="a89be17e0c765e3f0386eba2b945e7923fbf420ee492b1fdc32391dd4a183b21c1aae66998b9b8303b466bb82e54fa5d1518b085730a63f363e4062777d1a9c4  Object-InsideOut-4.02.tar.gz"