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

Felix Yan felixonmars at archlinux.org
Wed Aug 1 11:56:38 UTC 2018


    Date: Wednesday, August 1, 2018 @ 11:56:38
  Author: felixonmars
Revision: 366591

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 366590, perl-html-formatter/trunk/PKGBUILD)

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

Copied: perl-html-formatter/repos/community-staging-any/PKGBUILD (from rev 366590, perl-html-formatter/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-08-01 11:56:38 UTC (rev 366591)
@@ -0,0 +1,36 @@
+# $Id$
+# 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=4
+pkgdesc="Format HTML as plaintext"
+arch=('any')
+url="http://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=("http://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