aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-object-insideout/APKBUILD
blob: 24ae9000ebff4e4cbadbdb52310b8822628afb58 (plain) (blame)
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.02
pkgrel=1
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="a89be17e0c765e3f0386eba2b945e7923fbf420ee492b1fdc32391dd4a183b21c1aae66998b9b8303b466bb82e54fa5d1518b085730a63f363e4062777d1a9c4  Object-InsideOut-4.02.tar.gz"