aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-font-ttf/APKBUILD
blob: 64270cd05fba90a10766afe566f8ea841050c5e4 (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
# Contributor: Milan P. Stanić <mps@arvanta.net>
# Maintainer: Milan P. Stanić <mps@arvanta.net>
pkgname=perl-font-ttf
pkgver=1.06
pkgrel=0
_pkgreal=Font-TTF
pkgdesc="perl module for TrueType font hacking"
url="https://metacpan.org/pod/Font::TTF"
arch="all"
license="Artistic License 2.0"
depends="perl-io-string"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/B/BH/BHALLISSY/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"

build() {
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
	make
}

check() {
	make test
}

package() {
	make DESTDIR="$pkgdir" install
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="2995544511e4cf9b1aa9a900b2272bf63a137fbbb752f2501d66c057b8272f7eb6f84326ed6121ffcbeb210f8f38b9219f59420a5a4b6664ce07aecc758ea029  Font-TTF-1.06.tar.gz"