Commit 2d1993c6 authored by Roberto Oliveira's avatar Roberto Oliveira

community/perl-file-slurper: upgrade to 0.010

parent 4df81d8e
......@@ -3,8 +3,8 @@
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=perl-file-slurper
_pkgreal=File-Slurper
pkgver=0.009
pkgrel=1
pkgver=0.010
pkgrel=0
pkgdesc="A simple, sane and efficient module to slurp a file"
url="http://search.cpan.org/dist/File-Slurper/"
arch="noarch"
......@@ -20,7 +20,7 @@ source="http://search.cpan.org/CPAN/authors/id/L/LE/LEONT/$_pkgreal-$pkgver.tar.
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
default_prepare || return 1
default_prepare
cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
......@@ -35,7 +35,7 @@ build() {
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
......@@ -45,4 +45,4 @@ check() {
make test
}
sha512sums="e07074eb5470df75c43848d9bd2e0c5d3bfabf3b6f9739e67d830ce87f4f38a3a569aeca885537d0f9c7d2e285e52f7dfdc27f8035ce0d74d6c750067959f057 File-Slurper-0.009.tar.gz"
sha512sums="a6e2a86d76d2e4c49a8df17a453a3da530cb62324cb91793c4bd6e7cabc4f5b4b4fadda8aa0f98390ac950a94a4b82cb3ec547caaba88bf61ec0aa086e298832 File-Slurper-0.010.tar.gz"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment