summaryrefslogblamecommitdiff
path: root/user/perl-font-afm/APKBUILD
blob: 04c694b492e93140527d581188f38b7cf3a964f7 (plain) (tree)
1
2
3
4
5
6
7
                                                  
                                                          
                     



                               




                                               
                                       
              

                          

                                                                                        

         




                                                                 



                 




                                                                                                                                                                   
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-font-afm
_pkgreal=Font-AFM
_author=GAAS
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
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-1.0+"
depends="perl"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_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="1fc74f0dbbed52937d512465a021148e93b2e0698189a6fc17eb1aa8951c934b0060a0256883118dc2a3a9086025468e0a851706306876568466bf4638fdb618  Font-AFM-1.20.tar.gz"