2013-12-17 00:43:08 +08:00
|
|
|
_pkgname=file-next
|
|
|
|
pkgname=perl-${_pkgname}
|
2017-06-06 04:45:04 +08:00
|
|
|
pkgver=1.16
|
2012-08-11 04:17:30 +08:00
|
|
|
pkgrel=1
|
2011-01-15 03:31:50 +08:00
|
|
|
pkgdesc='File::Next - File-finding iterator'
|
2013-12-17 00:43:08 +08:00
|
|
|
arch=('x86_64')
|
2011-01-15 03:31:50 +08:00
|
|
|
license=('GPL' 'PerlArtistic')
|
2013-12-17 00:43:08 +08:00
|
|
|
url="https://github.com/petdance/${_pkgname}"
|
2011-01-15 03:31:50 +08:00
|
|
|
depends=('perl>=5.10.0')
|
|
|
|
options=(!emptydirs)
|
2013-12-17 00:43:08 +08:00
|
|
|
source=("${url}/archive/${pkgver}.tar.gz")
|
2017-06-06 04:45:04 +08:00
|
|
|
sha256sums=('8ee4c9826ba82ba4a91ee36bf178300a76ea3f400c837e2a14c478eab69ff600')
|
2011-01-15 03:31:50 +08:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$srcdir/${_pkgname}-$pkgver"
|
|
|
|
|
|
|
|
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$srcdir/${_pkgname}-$pkgver"
|
|
|
|
|
|
|
|
make install DESTDIR="$pkgdir"
|
|
|
|
|
|
|
|
find "$pkgdir" -name perllocal.pod -delete
|
|
|
|
find "$pkgdir" -name .packlist -delete
|
|
|
|
}
|
2013-12-17 00:49:37 +08:00
|
|
|
|