[arch-commits] Commit in perl-html-formatter/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Mon May 24 11:24:45 UTC 2021


    Date: Monday, May 24, 2021 @ 11:24:45
  Author: foutrelis
Revision: 944406

archrelease: copy trunk to community-staging-any

Added:
  perl-html-formatter/repos/community-staging-any/
  perl-html-formatter/repos/community-staging-any/PKGBUILD
    (from rev 944404, perl-html-formatter/trunk/PKGBUILD)

----------+
 PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

Copied: perl-html-formatter/repos/community-staging-any/PKGBUILD (from rev 944404, perl-html-formatter/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-05-24 11:24:45 UTC (rev 944406)
@@ -0,0 +1,35 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Andre Wayand <aur-perl-html-formattext at awayand.sleepmail.com>
+
+pkgname=perl-html-formatter
+pkgver=2.16
+pkgrel=7
+pkgdesc="Format HTML as plaintext"
+arch=('any')
+url="https://search.cpan.org/dist/HTML-Formatter/"
+license=('GPL' 'PerlArtistic')
+depends=('perl>=5.10.0' 'perl-file-slurp' 'perl-font-afm' 'perl-html-tree')
+makedepends=('perl-module-build')
+provides=('perl-html-formattext')
+replaces=('perl-html-formattext')
+conflicts=('perl-html-formattext')
+options=(!emptydirs)
+source=("https://search.cpan.org/CPAN/authors/id/N/NI/NIGELM/HTML-Formatter-$pkgver.tar.gz")
+sha256sums=('cb0a0dd8aa5e8ba9ca214ce451bf4df33aa09c13e907e8d3082ddafeb30151cc')
+
+build() {
+  cd "$srcdir/HTML-Formatter-$pkgver"
+  export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps \
+   PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
+   PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
+   PERL5LIB="" PERL_LOCAL_LIB_ROOT="" \
+   MODULEBUILDRC=/dev/null
+
+  perl Makefile.PL
+  make
+}
+
+package() {
+  cd "$srcdir/HTML-Formatter-$pkgver"
+  make install DESTDIR="${pkgdir}"
+}



More information about the arch-commits mailing list