[arch-commits] Commit in perl-html-strip/repos (2 files)
Florian Pritz
bluewind at archlinux.org
Wed Aug 1 12:32:40 UTC 2018
Date: Wednesday, August 1, 2018 @ 12:32:40
Author: bluewind
Revision: 366841
archrelease: copy trunk to community-staging-x86_64
Added:
perl-html-strip/repos/community-staging-x86_64/
perl-html-strip/repos/community-staging-x86_64/PKGBUILD
(from rev 366840, perl-html-strip/trunk/PKGBUILD)
----------+
PKGBUILD | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
Copied: perl-html-strip/repos/community-staging-x86_64/PKGBUILD (from rev 366840, perl-html-strip/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2018-08-01 12:32:40 UTC (rev 366841)
@@ -0,0 +1,26 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Charles Mauch <cmauch at gmail.com>
+
+pkgname=perl-html-strip
+pkgver=2.10
+pkgrel=5
+pkgdesc="Perl/CPAN Module HTML::Strip"
+arch=('x86_64')
+url="http://search.cpan.org/~kilinrax/HTML-Strip/"
+license=("GPL" "PerlArtistic")
+depends=('perl')
+source=("https://www.cpan.org/authors/id/K/KI/KILINRAX/HTML-Strip-$pkgver.tar.gz")
+sha256sums=('2af30a61f1ecc0bea983043c8078e48380ccb0319388a74483e09aa782f1ccfa')
+
+build() {
+ cd "$srcdir"/HTML-Strip-$pkgver
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+package() {
+ cd "$srcdir"/HTML-Strip-$pkgver
+ make install DESTDIR="$pkgdir"
+ find "$pkgdir" -name '.packlist' -delete
+ find "$pkgdir" -name '*.pod' -delete
+}
More information about the arch-commits
mailing list