summaryrefslogblamecommitdiff
path: root/user/perl-devel-cycle/APKBUILD
blob: 622e0380efbd425ed071339b3b3d586edff66e3a (plain) (tree)

































                                                                                                                                                                      
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-devel-cycle
_pkgreal=Devel-Cycle
_author=LDS
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=1.12
pkgrel=0
pkgdesc="Perl module for finding circular references in objects"
url="https://metacpan.org/pod/Devel::Cycle"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-1.0+"
depends="perl"
makedepends=""
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"

build() {
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
	make
}

check() {
	make test
}

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

sha512sums="e2c83829905449d13c86233ad5bfce28e7b4eca61a8ac1e2f73e3c906a2d8580f66ae84d865ef876c38c2d25f0a5a8adeb05f6e94594274d8a5fa1739842d08d  Devel-Cycle-1.12.tar.gz"