aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-object-insideout/APKBUILD
blob: 6862c6f1c1912de71822f82ccf0a352d02d4c1ef (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
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Sheila Aman <sheila@vulpine.house>
# Maintainer: Sheila Aman <sheila@vulpine.house>
pkgname=perl-object-insideout
_pkgreal=Object-InsideOut
pkgver=4.05
pkgrel=6
pkgdesc="Comprehensive inside-out object support module"
url="https://metacpan.org/dist/Object-InsideOut"
arch="noarch"
license="GPL-2.0-or-later OR Artistic-2.0"
depends="perl perl-exception-class perl-module-build"
checkdepends="perl-want perl-test-pod-coverage"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/J/JD/JDHEDDEN/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgreal-$pkgver

prepare() {
	default_prepare
	perl Build.PL installdirs=vendor
}

build() {
	./Build
}

check() {
        ./Build test
}

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

sha512sums="0bc853766d229d8043e9829915b50c158ce2e2d12d5ba9d49d6be892979f69d675dc032163400ca1ee1a8a89db39207828981ee66f02a24a3032a21760acf87d  Object-InsideOut-4.05.tar.gz"