[arch-commits] Commit in perl-xml-regexp/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Jul 7 16:15:19 UTC 2020
Date: Tuesday, July 7, 2020 @ 16:15:18
Author: felixonmars
Revision: 659185
archrelease: copy trunk to community-staging-any
Added:
perl-xml-regexp/repos/community-staging-any/
perl-xml-regexp/repos/community-staging-any/PKGBUILD
(from rev 659184, perl-xml-regexp/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: perl-xml-regexp/repos/community-staging-any/PKGBUILD (from rev 659184, perl-xml-regexp/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-07-07 16:15:18 UTC (rev 659185)
@@ -0,0 +1,31 @@
+# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
+# Contributor: François Charette <firmicus ατ gmx δοτ net>
+
+pkgname=perl-xml-regexp
+pkgver=0.04
+pkgrel=5
+pkgdesc="Regular expressions for XML tokens"
+arch=('any')
+url="https://search.cpan.org/dist/XML-RegExp"
+license=('GPL' 'PerlArtistic')
+depends=('perl')
+options=('!emptydirs')
+source=("https://www.cpan.org/authors/id/T/TJ/TJMATHER/XML-RegExp-${pkgver}.tar.gz")
+sha256sums=('df1990096036085c8e2d45904fe180f82bfed40f1a7e05243f334ea10090fc54')
+
+build() {
+ cd XML-RegExp-${pkgver}
+
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+
+ make
+}
+
+package() {
+ cd XML-RegExp-${pkgver}
+
+ make install DESTDIR="$pkgdir"
+
+ find "$pkgdir" -name '.packlist' -delete
+ find "$pkgdir" -name '*.pod' -delete
+}
More information about the arch-commits
mailing list