mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-09-21 05:31:25 +02: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.043
|
|
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="
|
|
457d638d19831718542a791ecc3f74c2af8111f16c4fc2f9a9eb499f8dbf480bc8dd928820cd838d3db18a568ac39451be7ee8051d3743c71ab3d4636e5bb2b9 PDF-API2-2.043.tar.gz
|
|
"
|