[arch-commits] Commit in perl-file-slurp/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Jul 7 16:52:11 UTC 2020
Date: Tuesday, July 7, 2020 @ 16:52:11
Author: felixonmars
Revision: 659452
archrelease: copy trunk to community-staging-any
Added:
perl-file-slurp/repos/community-staging-any/
perl-file-slurp/repos/community-staging-any/PKGBUILD
(from rev 659451, perl-file-slurp/trunk/PKGBUILD)
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Copied: perl-file-slurp/repos/community-staging-any/PKGBUILD (from rev 659451, perl-file-slurp/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-07-07 16:52:11 UTC (rev 659452)
@@ -0,0 +1,28 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
+# Contributor: François Charette <firmicus ατ gmx δοτ net>
+
+pkgname=perl-file-slurp
+pkgver=9999.28
+pkgrel=2
+pkgdesc="Read/write/append files quickly"
+arch=('any')
+url="https://search.cpan.org/dist/File-Slurp"
+license=('GPL' 'PerlArtistic')
+depends=('perl>=5.14.0')
+options=('!emptydirs')
+source=(https://cpan.metacpan.org/authors/id/C/CA/CAPOEIRAB/File-Slurp-$pkgver.tar.gz)
+sha256sums=('0587ce010bcb79db9e744f14b5498be97bf2c7f2474d971916d92f0a10827cee')
+
+build() {
+ cd "$srcdir"/File-Slurp-$pkgver
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+package() {
+ cd "$srcdir"/File-Slurp-$pkgver
+ make install DESTDIR="$pkgdir"
+ find "$pkgdir" -name '.packlist' -delete
+ find "$pkgdir" -name '*.pod' -delete
+}
More information about the arch-commits
mailing list