[arch-commits] Commit in perl-file-readbackwards/repos (2 files)
Florian Pritz
bluewind at archlinux.org
Wed Aug 1 09:07:32 UTC 2018
Date: Wednesday, August 1, 2018 @ 09:07:31
Author: bluewind
Revision: 329972
archrelease: copy trunk to staging-any
Added:
perl-file-readbackwards/repos/staging-any/
perl-file-readbackwards/repos/staging-any/PKGBUILD
(from rev 329971, perl-file-readbackwards/trunk/PKGBUILD)
----------+
PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
Copied: perl-file-readbackwards/repos/staging-any/PKGBUILD (from rev 329971, perl-file-readbackwards/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD (rev 0)
+++ staging-any/PKGBUILD 2018-08-01 09:07:31 UTC (rev 329972)
@@ -0,0 +1,39 @@
+# $Id$
+
+# Contributor: 3ED <krzysztof1987 at gmail dot com>
+
+pkgname=perl-file-readbackwards
+_lastauthor=U/UR/URI
+_pkgname=File-ReadBackwards
+pkgver=1.05
+pkgrel=4
+pkgdesc="read a file backwards by lines"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl')
+makedepends=('perl-extutils-makemaker')
+url="http://search.cpan.org/dist/${_pkgname}/"
+source=(http://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