diff options
-rw-r--r-- | user/perl-font-afm/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-font-afm/APKBUILD b/user/perl-font-afm/APKBUILD new file mode 100644 index 000000000..bfc94a47d --- /dev/null +++ b/user/perl-font-afm/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-font-afm +_pkgname=Font-AFM +pkgver=1.20 +pkgrel=0 +pkgdesc="Adobe Font Metrics interface for Perl" +url="https://metacpan.org/release/Font-AFM" +arch="noarch" +license="Artistic-1.0-Perl OR GPL-2.0-only" +depends="" +makedepends="perl-dev" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/G/GA/GAAS/Font-AFM-$pkgver.tar.gz" +builddir="$srcdir/Font-AFM-$pkgver" + +build() { + cd "$builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "$builddir" + make test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="1fc74f0dbbed52937d512465a021148e93b2e0698189a6fc17eb1aa8951c934b0060a0256883118dc2a3a9086025468e0a851706306876568466bf4638fdb618 Font-AFM-1.20.tar.gz" |