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

Evangelos Foutras foutrelis at archlinux.org
Mon May 24 11:37:21 UTC 2021


    Date: Monday, May 24, 2021 @ 11:37:21
  Author: foutrelis
Revision: 944677

archrelease: copy trunk to community-staging-any

Added:
  perl-file-tail/repos/community-staging-any/
  perl-file-tail/repos/community-staging-any/PKGBUILD
    (from rev 944676, perl-file-tail/trunk/PKGBUILD)

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

Copied: perl-file-tail/repos/community-staging-any/PKGBUILD (from rev 944676, perl-file-tail/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-05-24 11:37:21 UTC (rev 944677)
@@ -0,0 +1,45 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+
+pkgname=perl-file-tail
+pkgver=1.3
+pkgrel=7
+pkgdesc='Perl extension for reading from continously updated files'
+arch=(any)
+license=(PerlArtistic GPL)
+options=(!emptydirs)
+depends=(perl-io)
+url=https://metacpan.org/release/File-Tail
+source=("https://search.cpan.org/CPAN/authors/id/M/MG/MGRABNAR/File-Tail-$pkgver.tar.gz")
+md5sums=('252635f89ec18cb871c0b45ed64b3f63')
+sha512sums=('942f87880d0d8b79c521248cdbc449daafbd117a2a3700e2dbcc7fe7a6046e5783e8616b6c32de513f85a56663b63c4dde217e9e124216ba6a605c645db2bde9')
+_ddir="File-Tail-$pkgver"
+
+build()
+(
+  cd "$srcdir/$_ddir"
+  export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+  unset PERL5LIB PERL_MM_OPT
+  /usr/bin/perl Makefile.PL
+  make
+)
+
+check()
+(
+  cd "$srcdir/$_ddir"
+  export PERL_MM_USE_DEFAULT=1
+  unset PERL5LIB
+  make test
+)
+
+package()
+(
+  cd "$srcdir/$_ddir"
+  make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
+  find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+)
+
+# Local Variables:
+# mode: shell-script
+# sh-basic-offset: 2
+# End:
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list