mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 00:12:05 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			40 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			40 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Automatically generated by apkbuild-cpan, template 2
 | |
| # Contributor: Timo Teräs <timo.teras@iki.fi>
 | |
| # Maintainer: Timo Teräs <timo.teras@iki.fi>
 | |
| pkgname=perl-data-dumper-concise
 | |
| _pkgreal=Data-Dumper-Concise
 | |
| pkgver=2.023
 | |
| pkgrel=3
 | |
| pkgdesc="Less indentation and newlines plus sub deparsing"
 | |
| url="https://metacpan.org/release/Data-Dumper-Concise"
 | |
| arch="noarch"
 | |
| license="GPL-1.0-or-later OR Artistic-1.0-Perl"
 | |
| depends="perl"
 | |
| subpackages="$pkgname-doc"
 | |
| source="https://cpan.metacpan.org/authors/id/E/ET/ETHER/$_pkgreal-$pkgver.tar.gz"
 | |
| builddir="$srcdir/$_pkgreal-$pkgver"
 | |
| 
 | |
| prepare() {
 | |
| 	default_prepare
 | |
| 
 | |
| 	export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
 | |
| 	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
 | |
| }
 | |
| 
 | |
| build() {
 | |
| 	export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
 | |
| 	make
 | |
| }
 | |
| 
 | |
| package() {
 | |
| 	make DESTDIR="$pkgdir" install
 | |
| 	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
 | |
| }
 | |
| 
 | |
| check() {
 | |
| 	export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
 | |
| 	make test
 | |
| }
 | |
| 
 | |
| sha512sums="cc193bc60228dd3bb1c50d4545ee6a507d80ada27548303bb04fd720504746a2d5a4f32d7c33f52dfaf135a2456e019d794a7d693e2c56df9ea9d0ff385e8cd0  Data-Dumper-Concise-2.023.tar.gz"
 |