summaryrefslogblamecommitdiff
path: root/user/perl-sub-quote/APKBUILD
blob: 78112e4d85677a5c5523b9aa5de6c717d7591c4d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11


                                                                   
               






                                                             




                                                                                 




                                                                 



                 



                                                                           
                                                                                                                                                                        
# Contributor: Dan Theisen <djt@hxx.in>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-sub-quote
pkgver=2.006006
pkgrel=0
pkgdesc="Efficient generation of subroutines via string eval"
url="https://metacpan.org/release/Sub-Quote"
arch="noarch"
license="Artistic-1.0-Perl AND GPL-2.0"
depends="perl"
makedepends="perl-dev perl-test-fatal"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/H/HA/HAARG/Sub-Quote-$pkgver.tar.gz"
builddir="$srcdir/Sub-Quote-$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="19cd0504f039f3218d3f47b3b44714f0baed73a13f97c4552eb1816b7b03186b1bbdf48cc70c2cae616eb9ec81721b30217c7f788176d389df694c9b355ead64  Sub-Quote-2.006006.tar.gz"