[arch-commits] Commit in perl-html-highlight/repos (2 files)
Florian Pritz
bluewind at archlinux.org
Wed Aug 1 11:57:49 UTC 2018
Date: Wednesday, August 1, 2018 @ 11:57:49
Author: bluewind
Revision: 366605
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 366604, perl-html-highlight/trunk/PKGBUILD)
----------+
PKGBUILD | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
Copied: perl-html-highlight/repos/community-staging-any/PKGBUILD (from rev 366604, perl-html-highlight/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2018-08-01 11:57:49 UTC (rev 366605)
@@ -0,0 +1,26 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Charles Mauch <cmauch at gmail.com>
+
+pkgname=perl-html-highlight
+pkgver=0.20
+pkgrel=9
+pkgdesc="Perl/CPAN Module HTML::Highlight"
+arch=("any")
+url="http://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