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

Felix Yan felixonmars at archlinux.org
Mon May 24 08:31:25 UTC 2021


    Date: Monday, May 24, 2021 @ 08:31:25
  Author: felixonmars
Revision: 415945

archrelease: copy trunk to staging-any

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

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

Copied: perl-io-html/repos/staging-any/PKGBUILD (from rev 415944, perl-io-html/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2021-05-24 08:31:25 UTC (rev 415945)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+
+pkgname=perl-io-html
+pkgver=1.004
+pkgrel=2
+pkgdesc="Open an HTML file with automatic charset detection"
+arch=('any')
+url='https://search.cpan.org/dist/IO-HTML'
+depends=('perl')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+source=(https://search.cpan.org/CPAN/authors/id/C/CJ/CJM/IO-HTML-$pkgver.tar.gz)
+sha512sums=('564fba7cfb50ef1cc78fa9e2b2200a20e305d098b8ceeb6f8478f0275cc48e4fb069386f5c318bc9deb43a5d590a78a995c04100bd440340f5c990eadc76a70f')
+
+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