summaryrefslogblamecommitdiff
path: root/user/perl-devel-stacktrace/APKBUILD
blob: 2691167b01f3a98fbcde4af4632ec6b2170b8152 (plain) (tree)
1
2
3
4
5
6
7
8
                                                  
                                                          
                             



                               
           




                                                   
              

                          

                                                                                        

         




                                                                 



                 



                                                                           
                                                                                                                                                                           
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-devel-stacktrace
_pkgreal=Devel-StackTrace
_author=DROLSKY
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=2.05
pkgrel=0
pkgdesc="A Perl object representing a stack trace"
url="https://metacpan.org/release/Devel-StackTrace"
arch="noarch"
license="Artistic-2.0"
depends="perl"
makedepends="perl-dev"
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="070f95e731a7ac07a19f0ae0a4dbe04ae2ee72e43c34363e57c2336c856ec2f7fc055ae9fec6b8ee85ca06d6b5558a891a1a6df62c7d1b60493b22be38a020b8  Devel-StackTrace-2.05.tar.gz"