mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-30 07:51:58 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			40 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			40 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Automatically generated by apkbuild-cpan, template 4
 | |
| # Contributor: Celeste <cielesti@protonmail.com>
 | |
| # Maintainer: Celeste <cielesti@protonmail.com>
 | |
| pkgname=perl-test-class-tiny
 | |
| pkgver=0.03
 | |
| pkgrel=0
 | |
| #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
 | |
| _pkgreal=Test-Class-Tiny
 | |
| pkgdesc="xUnit in Perl, simplified"
 | |
| url="https://metacpan.org/release/Test-Class-Tiny/"
 | |
| arch="noarch"
 | |
| license="GPL-1.0-or-later OR Artistic-1.0-Perl"
 | |
| depends="perl"
 | |
| checkdepends="perl-test-deep perl-test2-suite"
 | |
| subpackages="$pkgname-doc"
 | |
| source="https://cpan.metacpan.org/authors/id/F/FE/FELIPE/Test-Class-Tiny-$pkgver.tar.gz"
 | |
| builddir="$srcdir/$_pkgreal-$pkgver"
 | |
| 
 | |
| build() {
 | |
| 	export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
 | |
| 	PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL \
 | |
| 		INSTALLDIRS=vendor \
 | |
| 		NO_PACKLIST=1 \
 | |
| 		NO_PERLLOCAL=1
 | |
| 	make
 | |
| }
 | |
| 
 | |
| check() {
 | |
| 	export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
 | |
| 	make test
 | |
| }
 | |
| 
 | |
| package() {
 | |
| 	make DESTDIR="$pkgdir" install
 | |
| }
 | |
| 
 | |
| sha512sums="
 | |
| 7342fcdd8cf1c283926f6e244fa2bfca9369e8fa9a10587c9d46bfba1b204ef5156a21d3a461a952d07cf8f0646995083ce5c1738561fac83c38c04fd8e895de  Test-Class-Tiny-0.03.tar.gz
 | |
| "
 |