mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
36 lines
873 B
Bash
36 lines
873 B
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
|
|
pkgname=perl-file-next
|
|
_pkgname=File-Next
|
|
pkgver=1.10
|
|
pkgrel=1
|
|
pkgdesc='File::Next - File-finding iterator'
|
|
arch=('any')
|
|
license=('GPL' 'PerlArtistic')
|
|
url="http://search.cpan.org/dist/${_pkgname}"
|
|
depends=('perl>=5.10.0')
|
|
options=(!emptydirs)
|
|
source=(http://search.cpan.org/CPAN/authors/id/P/PE/PETDANCE/${_pkgname}-$pkgver.tar.gz)
|
|
md5sums=('dcaade658846c8100b0a5e43fae8920d')
|
|
|
|
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
|
|
}
|