mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 16:31:40 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			37 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			37 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Automatically generated by apkbuild-cpan, template 3
 | |
| # Maintainer: Milan P. Stanić <mps@arvanta.net>
 | |
| pkgname=perl-pdf-api2
 | |
| #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
 | |
| _pkgreal=PDF-API2
 | |
| pkgver=2.044
 | |
| pkgrel=0
 | |
| pkgdesc="Facilitates the creation and modification of PDF files"
 | |
| url="https://metacpan.org/release/PDF-API2/"
 | |
| arch="noarch"
 | |
| license="lgpl_2_1"
 | |
| depends="perl perl-font-ttf"
 | |
| checkdepends="perl-test-exception perl-test-memory-cycle"
 | |
| subpackages="$pkgname-doc"
 | |
| source="https://cpan.metacpan.org/authors/id/S/SS/SSIMMS/PDF-API2-$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="
 | |
| 5d749676496d133164125275f1d35d84c6e3373cebf2b1515266473470a97cc1843f4dc8a494be0146c0c58486b535e7c27b4a034ae1b7ad19ecdb1e5c69e425  PDF-API2-2.044.tar.gz
 | |
| "
 |