blob: 100ba08c4b3753fe7eda5d3f2cfb4ccd2acd01ea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# $Id$
# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=perl-file-slurp-tiny
pkgver=0.004
pkgrel=3
pkgdesc="A simple, sane and efficient file slurper"
arch=('any')
license=('PerlArtistic' 'GPL')
options=('!emptydirs')
depends=('perl')
makedepends=()
url='http://search.cpan.org/dist/File-Slurp-Tiny'
source=("http://search.cpan.org/CPAN/authors/id/L/LE/LEONT/File-Slurp-Tiny-$pkgver.tar.gz")
md5sums=('7575b81543281ea57cdb7e5eb3f73264')
build() {
cd "$srcdir/File-Slurp-Tiny-$pkgver"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
cd "$srcdir/File-Slurp-Tiny-$pkgver"
PERL_MM_USE_DEFAULT=1
make test
}
package() {
cd "$srcdir/File-Slurp-Tiny-$pkgver"
make install DESTDIR="$pkgdir"
find "$pkgdir" -name '.packlist' -o -name '*.pod' -delete
}
|