[arch-commits] Commit in perl-font-afm/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Wed Aug 1 08:59:19 UTC 2018
Date: Wednesday, August 1, 2018 @ 08:59:19
Author: foutrelis
Revision: 366210
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 366209, perl-font-afm/trunk/PKGBUILD)
----------+
PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
Copied: perl-font-afm/repos/community-staging-any/PKGBUILD (from rev 366209, perl-font-afm/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2018-08-01 08:59:19 UTC (rev 366210)
@@ -0,0 +1,39 @@
+# $Id$
+# 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=7
+pkgdesc="Parse Adobe Font Metric files"
+arch=('any')
+url="http://search.cpan.org/dist/Font-AFM"
+license=('GPL' 'PerlArtistic')
+depends=('perl>=5.5.0')
+options=('!emptydirs')
+source=("http://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