mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 16:31:40 +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-algorithm-cron
 | |
| _pkgreal=Algorithm-Cron
 | |
| pkgver=0.10
 | |
| pkgrel=4
 | |
| pkgdesc="abstract implementation of the F<cron(8)> scheduling"
 | |
| url="https://metacpan.org/release/Algorithm-Cron"
 | |
| arch="noarch"
 | |
| license="GPL-1.0-or-later OR Artistic-1.0-Perl"
 | |
| depends="perl perl-time-timegm"
 | |
| makedepends="perl-module-build perl-test-fatal"
 | |
| subpackages="$pkgname-doc"
 | |
| source="https://cpan.metacpan.org/authors/id/P/PE/PEVANS/$_pkgreal-$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
 | |
| }
 | |
| 
 | |
| package() {
 | |
| 	./Build install destdir="$pkgdir"
 | |
| 	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
 | |
| }
 | |
| 
 | |
| check() {
 | |
| 	./Build test
 | |
| }
 | |
| 
 | |
| sha512sums="8a894632226168084038800c997d18c86c45ea0254fe296d5022d8e632a63a2bb9ef894b4f2bbf6a71e11a18aff9af2d8e544e75d28a1bb3c674eb7d5281acb4  Algorithm-Cron-0.10.tar.gz"
 |