aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-font-ttf
diff options
context:
space:
mode:
authorMilan P. Stanić <mps@arvanta.net>2019-09-09 18:26:30 +0200
committerMilan P. Stanić <mps@arvanta.net>2019-09-09 18:26:30 +0200
commit05a3dd52eda14b465b4c6b1b838d9856621e5e66 (patch)
tree464e3cd4e87422344677e768fdd08d22815a5281 /testing/perl-font-ttf
parent0ab07e4cfbbd90654c6a5be6f0f64a40c5da943e (diff)
downloadaports-05a3dd52eda14b465b4c6b1b838d9856621e5e66.tar.bz2
aports-05a3dd52eda14b465b4c6b1b838d9856621e5e66.tar.xz
testing/perl-font-ttf: new aport
https://metacpan.org/pod/Font::TTF perl module for TrueType font hacking
Diffstat (limited to 'testing/perl-font-ttf')
-rw-r--r--testing/perl-font-ttf/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/perl-font-ttf/APKBUILD b/testing/perl-font-ttf/APKBUILD
new file mode 100644
index 0000000000..f0f76cec96
--- /dev/null
+++ b/testing/perl-font-ttf/APKBUILD
@@ -0,0 +1,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/M/MH/MHOSKEN/$_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"