[arch-commits] Commit in perl-file-slurp-tiny/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Sun Jun 21 10:30:36 UTC 2020


    Date: Sunday, June 21, 2020 @ 10:30:35
  Author: foutrelis
Revision: 648979

archrelease: copy trunk to community-staging-any

Added:
  perl-file-slurp-tiny/repos/community-staging-any/
  perl-file-slurp-tiny/repos/community-staging-any/PKGBUILD
    (from rev 648977, perl-file-slurp-tiny/trunk/PKGBUILD)

----------+
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

Copied: perl-file-slurp-tiny/repos/community-staging-any/PKGBUILD (from rev 648977, perl-file-slurp-tiny/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-06-21 10:30:35 UTC (rev 648979)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=perl-file-slurp-tiny
+pkgver=0.004
+pkgrel=6
+pkgdesc="A simple, sane and efficient file slurper"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl')
+makedepends=()
+url='https://search.cpan.org/dist/File-Slurp-Tiny'
+source=("https://search.cpan.org/CPAN/authors/id/L/LE/LEONT/File-Slurp-Tiny-$pkgver.tar.gz")
+md5sums=('7575b81543281ea57cdb7e5eb3f73264')
+
+build() {
+  cd "$srcdir/File-Slurp-Tiny-$pkgver"
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd "$srcdir/File-Slurp-Tiny-$pkgver"
+  PERL_MM_USE_DEFAULT=1
+  make test
+}
+
+package() {
+  cd "$srcdir/File-Slurp-Tiny-$pkgver"
+  make install DESTDIR="$pkgdir"
+  find "$pkgdir" -name '.packlist' -o -name '*.pod' -delete
+}



More information about the arch-commits mailing list