[arch-commits] Commit in perl-io-html/repos (staging-any staging-any/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Wed Aug 1 09:13:18 UTC 2018


    Date: Wednesday, August 1, 2018 @ 09:13:18
  Author: felixonmars
Revision: 330008

archrelease: copy trunk to staging-any

Added:
  perl-io-html/repos/staging-any/
  perl-io-html/repos/staging-any/PKGBUILD
    (from rev 330007, perl-io-html/trunk/PKGBUILD)

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

Copied: perl-io-html/repos/staging-any/PKGBUILD (from rev 330007, perl-io-html/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2018-08-01 09:13:18 UTC (rev 330008)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+
+pkgname=perl-io-html
+pkgver=1.001
+pkgrel=4
+pkgdesc="Open an HTML file with automatic charset detection"
+arch=('any')
+url='http://search.cpan.org/dist/IO-HTML'
+depends=('perl')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+source=(http://search.cpan.org/CPAN/authors/id/C/CJ/CJM/IO-HTML-$pkgver.tar.gz)
+sha1sums=('210b60f438502744c9c31a82329b19a6f9aecf63')
+
+build() {
+  export PERL_MM_USE_DEFAULT=1 PERL_MM_OPT="INSTALLDIRS=vendor" \
+    PERL_MB_OPT="--installdirs vendor"
+  cd IO-HTML-$pkgver
+  perl Makefile.PL
+  make 
+}
+
+check() {
+  cd IO-HTML-$pkgver
+  make test
+}
+
+package() {
+  cd IO-HTML-$pkgver
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list