archrelease: copy trunk to community-x86_64
[ArchLinux/community.git] / perl-file-slurp / repos / community-any / PKGBUILD
blob9e12601e5a040dc5a9fd531f9c57a7adb4d84092
1 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
2 # This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
3 # Contributor: François Charette <firmicus ατ gmx δοτ net>
5 pkgname=perl-file-slurp
6 pkgver=9999.32
7 pkgrel=3
8 pkgdesc="Read/write/append files quickly"
9 arch=('any')
10 url="https://search.cpan.org/dist/File-Slurp"
11 license=('GPL' 'PerlArtistic')
12 depends=('perl>=5.14.0')
13 options=('!emptydirs')
14 source=(https://cpan.metacpan.org/authors/id/C/CA/CAPOEIRAB/File-Slurp-$pkgver.tar.gz)
15 sha256sums=('4c3c21992a9d42be3a79dd74a3c83d27d38057269d65509a2f555ea0fb2bc5b0')
17 build() {
18   cd  "$srcdir"/File-Slurp-$pkgver
19   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
20   make
23 package() {
24   cd  "$srcdir"/File-Slurp-$pkgver
25   make install DESTDIR="$pkgdir"
26   find "$pkgdir" -name '.packlist' -delete
27   find "$pkgdir" -name '*.pod' -delete