2 # Contributor: 3ED <krzysztof1987 at gmail dot com>
4 pkgname=perl-file-readbackwards
5 _lastauthor=P/PL/PLICEASE
6 _pkgname=File-ReadBackwards
9 pkgdesc="read a file backwards by lines"
11 license=('PerlArtistic' 'GPL')
12 options=('!emptydirs')
14 makedepends=('perl-extutils-makemaker')
15 url="https://search.cpan.org/dist/${_pkgname}/"
16 source=(https://search.cpan.org/CPAN/authors/id/${_lastauthor}/${_pkgname}-${pkgver}.tar.gz)
17 sha512sums=('43b7ebe58728272fbc0518fe6572b31061ba09665443240558b9035573d075c28b52d6230078f24616110d54e51477ad122c985d4fcdb3c3d288cb24e476fe45')
20 cd ${_pkgname}-${pkgver}
22 export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL="--skipdeps" \
23 PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
24 PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
25 MODULEBUILDRC=/dev/null
31 cd ${_pkgname}-${pkgver}
35 cd ${_pkgname}-${pkgver}