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

Evangelos Foutras foutrelis at archlinux.org
Sat May 16 12:11:52 UTC 2020


    Date: Saturday, May 16, 2020 @ 12:11:51
  Author: foutrelis
Revision: 384453

archrelease: copy trunk to staging-any

Added:
  perl-file-readbackwards/repos/staging-any/
  perl-file-readbackwards/repos/staging-any/PKGBUILD
    (from rev 384452, perl-file-readbackwards/trunk/PKGBUILD)

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

Copied: perl-file-readbackwards/repos/staging-any/PKGBUILD (from rev 384452, perl-file-readbackwards/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2020-05-16 12:11:51 UTC (rev 384453)
@@ -0,0 +1,38 @@
+
+# Contributor: 3ED <krzysztof1987 at gmail dot com>
+
+pkgname=perl-file-readbackwards
+_lastauthor=U/UR/URI
+_pkgname=File-ReadBackwards
+pkgver=1.05
+pkgrel=6
+pkgdesc="read a file backwards by lines"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl')
+makedepends=('perl-extutils-makemaker')
+url="https://search.cpan.org/dist/${_pkgname}/"
+source=(https://search.cpan.org/CPAN/authors/id/${_lastauthor}/${_pkgname}-${pkgver}.tar.gz)
+sha256sums=('82b261af87507cc3e7e66899c457104ebc8d1c09fb85c53f67c1f90f70f18d6e')
+
+build() {
+  cd ${_pkgname}-${pkgver}
+
+  export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL="--skipdeps" \
+    PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
+    PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
+    MODULEBUILDRC=/dev/null
+
+  perl Makefile.PL
+  make
+}
+check() {
+  cd ${_pkgname}-${pkgver}
+  make test
+}
+package() {
+  cd ${_pkgname}-${pkgver}
+  make install
+}
+



More information about the arch-commits mailing list