mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 00:12:05 +01:00 
			
		
		
		
	The cargo vars are now set in abuild.conf by default.
Newlines done with:
    find . -name APKBUILD -exec sed -i '/^$/N;/^\n$/D' {} \;
See also: https://stackoverflow.com/a/4522043
		
	
			
		
			
				
	
	
		
			41 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			41 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Automatically generated by apkbuild-cpan, template 2
 | |
| # Contributor: Nick Andrew <nick@nick-andrew.net>
 | |
| # Maintainer: Nick Andrew <nick@nick-andrew.net>
 | |
| pkgname=perl-test-timer
 | |
| _pkgreal=Test-Timer
 | |
| pkgver=2.11
 | |
| pkgrel=1
 | |
| pkgdesc="test module to test/assert response times"
 | |
| url="https://metacpan.org/release/Test-Timer"
 | |
| arch="noarch"
 | |
| license="Artistic-2.0"
 | |
| depends="perl perl-error"
 | |
| makedepends="perl-module-build"
 | |
| checkdepends="perl-test-fatal perl-test-simple"
 | |
| subpackages="$pkgname-doc"
 | |
| source="https://cpan.metacpan.org/authors/id/J/JO/JONASBN/Test-Timer-$pkgver.tar.gz"
 | |
| builddir="$srcdir/$_pkgreal-$pkgver"
 | |
| 
 | |
| prepare() {
 | |
| 	default_prepare
 | |
| 
 | |
| 	export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
 | |
| 	perl Build.PL installdirs=vendor
 | |
| }
 | |
| 
 | |
| build() {
 | |
| 	export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
 | |
| 	./Build
 | |
| }
 | |
| 
 | |
| check() {
 | |
| 	./Build test
 | |
| }
 | |
| 
 | |
| package() {
 | |
| 	./Build install destdir="$pkgdir"
 | |
| 	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
 | |
| }
 | |
| 
 | |
| sha512sums="cd276ee115c31fb24f5f518fcca0e09189e2da8bc009bf6e99b28799117edb93d95492e61c6b60ef1cce9be2fe040eed242bbe3acb8ef8f40778970e24444c9b  Test-Timer-2.11.tar.gz"
 |