core/perl-file-slurp/PKGBUILD

27 lines
649 B
Bash
Raw Normal View History

2012-05-11 03:14:48 +08:00
# Platform packages for Chakra
pkgname=perl-file-slurp
pkgver=9999.19
pkgrel=1
pkgdesc="Read/write/append files quickly"
arch=('any')
url="http://search.cpan.org/dist/File-Slurp"
license=('GPL' 'PerlArtistic')
depends=('perl>=5.14.0')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/U/UR/URI/File-Slurp-$pkgver.tar.gz)
md5sums=('7d584cd15c4f8b9547765eff8c4ef078')
build() {
cd $srcdir/File-Slurp-$pkgver
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
package() {
cd $srcdir/File-Slurp-$pkgver
make install DESTDIR=$pkgdir
find $pkgdir -name '.packlist' -delete
find $pkgdir -name '*.pod' -delete
}