[arch-commits] Commit in perl-font-afm/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Sat May 25 09:16:06 UTC 2019
Date: Saturday, May 25, 2019 @ 09:16:06
Author: foutrelis
Revision: 470076
archrelease: copy trunk to community-staging-any
Added:
perl-font-afm/repos/community-staging-any/
perl-font-afm/repos/community-staging-any/PKGBUILD
(from rev 470075, perl-font-afm/trunk/PKGBUILD)
----------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
Copied: perl-font-afm/repos/community-staging-any/PKGBUILD (from rev 470075, perl-font-afm/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-05-25 09:16:06 UTC (rev 470076)
@@ -0,0 +1,38 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Maxwell Pray a.k.a. Synthead <synthead at gmail.com>
+# Contributor: François Charette <firmicus ατ gmx δοτ net>
+
+pkgname=perl-font-afm
+pkgver=1.20
+pkgrel=8
+pkgdesc="Parse Adobe Font Metric files"
+arch=('any')
+url="https://search.cpan.org/dist/Font-AFM"
+license=('GPL' 'PerlArtistic')
+depends=('perl>=5.5.0')
+options=('!emptydirs')
+source=("https://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Font-AFM-$pkgver.tar.gz")
+md5sums=('b14ecf4dc4edbd63940aa354eb13c499')
+
+build() {
+ cd "$srcdir/Font-AFM-$pkgver"
+ export \
+ PERL_MM_USE_DEFAULT=1 \
+ PERL_AUTOINSTALL=--skipdeps \
+ PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='"$pkgdir"'" \
+ PERL_MB_OPT="--installdirs vendor --destdir '"$pkgdir"'" \
+ MODULEBUILDRC=/dev/null
+ perl Makefile.PL
+ make
+}
+
+check() {
+ cd "$srcdir/Font-AFM-$pkgver"
+ make test
+}
+
+package() {
+ cd "$srcdir/Font-AFM-$pkgver"
+ make install
+ find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+}
More information about the arch-commits
mailing list