mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 00:12:05 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			38 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			38 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Automatically generated by apkbuild-cpan, template 3
 | |
| # Contributor: Milan P. Stanić <mps@arvanta.net>
 | |
| # Maintainer: Milan P. Stanić <mps@arvanta.net>
 | |
| pkgname=perl-object-pad
 | |
| #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
 | |
| _pkgreal=Object-Pad
 | |
| pkgver=0.78
 | |
| pkgrel=0
 | |
| pkgdesc="a simple syntax for lexical slot-based objects"
 | |
| url="https://metacpan.org/release/Object-Pad/"
 | |
| arch="all"
 | |
| license="GPL-1.0-or-later OR Artistic-1.0-Perl"
 | |
| depends="perl perl-xs-parse-sublike perl-xs-parse-keyword"
 | |
| makedepends="perl-dev perl-module-build"
 | |
| checkdepends="perl-test-refcount perl-data-dump perl-test-fatal"
 | |
| subpackages="$pkgname-doc"
 | |
| source="https://cpan.metacpan.org/authors/id/P/PE/PEVANS/Object-Pad-$pkgver.tar.gz"
 | |
| builddir="$srcdir/$_pkgreal-$pkgver"
 | |
| 
 | |
| build() {
 | |
| 	export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
 | |
| 	perl Build.PL --installdirs=vendor
 | |
| 	./Build
 | |
| }
 | |
| 
 | |
| check() {
 | |
| 	./Build test
 | |
| }
 | |
| 
 | |
| package() {
 | |
| 	./Build install --destdir="$pkgdir"
 | |
| 	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
 | |
| }
 | |
| 
 | |
| sha512sums="
 | |
| 59f1842e795ef501de677209274535d1edb5a84dee42a93f979e8e0a8d6ea3a1a35f5b7d22bc2e208da7a9721669fc9aa26f9683305fe9991b5ad84b11da446e  Object-Pad-0.78.tar.gz
 | |
| "
 |