blob: 8b66a9ed6a2f510ad2e8f5ccdbd83b33ebbdb28f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# 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.042
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="
c55827056228320beaa8574a4b73f92a8dfa730f7874df7ac6ad9f2b4b017f29c84db8d7c41e71300b2252e7525ec3cc0111c787c88af0e463d52c762ced6ef0 PDF-API2-2.042.tar.gz
"
|