aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-object-insideout/APKBUILD
blob: ec15193d1ad16171d506acd4c5882eb144bdf11e (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
42
43
44
# 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"