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

Felix Yan felixonmars at archlinux.org
Sat May 25 11:50:39 UTC 2019


    Date: Saturday, May 25, 2019 @ 11:50:38
  Author: felixonmars
Revision: 470524

archrelease: copy trunk to community-staging-any

Added:
  perl-html-highlight/repos/community-staging-any/
  perl-html-highlight/repos/community-staging-any/PKGBUILD
    (from rev 470522, perl-html-highlight/trunk/PKGBUILD)

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

Copied: perl-html-highlight/repos/community-staging-any/PKGBUILD (from rev 470522, perl-html-highlight/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-05-25 11:50:38 UTC (rev 470524)
@@ -0,0 +1,25 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Charles Mauch <cmauch at gmail.com>
+
+pkgname=perl-html-highlight
+pkgver=0.20
+pkgrel=10
+pkgdesc="Perl/CPAN Module HTML::Highlight"
+arch=("any")
+url="https://search.cpan.org/dist/HTML-Highlight"
+license=("GPL" "PerlArtistic")
+source=("https://www.cpan.org/authors/id/T/TR/TRIPIE/HTML-Highlight-$pkgver.tar.gz")
+sha256sums=('152550ee028d990f14d04330c59e7f4a43eade1ee1a02ed6314844ea5ae7a6e3')
+
+build() {
+  cd "$srcdir"/HTML-Highlight-$pkgver
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+package() {
+  cd "$srcdir"/HTML-Highlight-$pkgver
+  make install DESTDIR="$pkgdir"
+  find "$pkgdir" -name '.packlist' -delete
+  find "$pkgdir" -name '*.pod' -delete
+}



More information about the arch-commits mailing list