[arch-commits] Commit in perl-html-highlight/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon May 24 11:28:19 UTC 2021
Date: Monday, May 24, 2021 @ 11:28:19
Author: foutrelis
Revision: 944499
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 944498, perl-html-highlight/trunk/PKGBUILD)
----------+
PKGBUILD | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
Copied: perl-html-highlight/repos/community-staging-any/PKGBUILD (from rev 944498, perl-html-highlight/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-05-24 11:28:19 UTC (rev 944499)
@@ -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=12
+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