mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 00:12:05 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			38 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			38 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Automatically generated by apkbuild-cpan, template 3
 | |
| # Contributor: rubicon <rubicon@mailo.com>
 | |
| # Maintainer: rubicon <rubicon@mailo.com>
 | |
| pkgname=perl-devel-lexalias
 | |
| #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
 | |
| _pkgreal=Devel-LexAlias
 | |
| pkgver=0.05
 | |
| pkgrel=1
 | |
| pkgdesc="alias lexical variables"
 | |
| url="https://metacpan.org/release/Devel-LexAlias/"
 | |
| arch="all"
 | |
| license="GPL-1.0-or-later OR Artistic-1.0-Perl"
 | |
| depends="perl perl-devel-caller"
 | |
| makedepends="perl-dev"
 | |
| subpackages="$pkgname-doc"
 | |
| source="https://cpan.metacpan.org/authors/id/R/RC/RCLAMP/Devel-LexAlias-$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
 | |
| 	make
 | |
| }
 | |
| 
 | |
| check() {
 | |
| 	export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
 | |
| 	make test
 | |
| }
 | |
| 
 | |
| package() {
 | |
| 	make DESTDIR="$pkgdir" install
 | |
| 	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
 | |
| }
 | |
| 
 | |
| sha512sums="
 | |
| 31f4e12d6d756790fba457f2a927d8dbf4c873033b1c83becc5c3668451041cb3ccea8c132529d35b2fd553dd34da34202ab97d25dc1c564024c68f9dd7a7367  Devel-LexAlias-0.05.tar.gz
 | |
| "
 |