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

Evangelos Foutras foutrelis at archlinux.org
Sat May 25 08:48:41 UTC 2019


    Date: Saturday, May 25, 2019 @ 08:48:40
  Author: foutrelis
Revision: 353964

archrelease: copy trunk to staging-any

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

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

Copied: perl-html-tagset/repos/staging-any/PKGBUILD (from rev 353963, perl-html-tagset/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2019-05-25 08:48:40 UTC (rev 353964)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Conributor: kevin <kevin at archlinux.org>
+# Contributor: Manolis Tzanidakis
+
+pkgname=perl-html-tagset
+_realname=HTML-Tagset
+pkgver=3.20
+pkgrel=8
+pkgdesc="Data tables useful in parsing HTML"
+arch=('any')
+license=('PerlArtistic')
+url="https://search.cpan.org/dist/${_realname}/"
+depends=('perl>=5.10.0')
+replaces=('html-tagset')
+provides=('html-tagset')
+options=(!emptydirs)
+source=(https://www.cpan.org/authors/id/P/PE/PETDANCE/${_realname}-${pkgver}.tar.gz)
+md5sums=('d2bfa18fe1904df7f683e96611e87437')
+
+build() {
+  cd ${srcdir}/${_realname}-${pkgver}
+  # install module in vendor directories.
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd ${srcdir}/${_realname}-${pkgver}
+  make test
+}
+
+package() {
+  cd ${srcdir}/${_realname}-${pkgver}
+  make install DESTDIR=${pkgdir}
+}
+
+# vim: ts=2 sw=2 et ft=sh


More information about the arch-commits mailing list