[arch-commits] Commit in perl-html-formatter/repos (2 files)
Sergej Pupykin
spupykin at archlinux.org
Mon Apr 17 08:16:05 UTC 2017
Date: Monday, April 17, 2017 @ 08:16:04
Author: spupykin
Revision: 223373
archrelease: copy trunk to community-any
Added:
perl-html-formatter/repos/community-any/
perl-html-formatter/repos/community-any/PKGBUILD
(from rev 223372, perl-html-formatter/trunk/PKGBUILD)
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: perl-html-formatter/repos/community-any/PKGBUILD (from rev 223372, perl-html-formatter/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2017-04-17 08:16:04 UTC (rev 223373)
@@ -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=1
+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