summaryrefslogtreecommitdiff
path: root/community/perl-io-dirent/PKGBUILD
blob: 4dbd3d576e111e1b0f4cab7d6c64a39d9007ac07 (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
# $Id: PKGBUILD 71801 2012-06-02 10:31:10Z bluewind $
# Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org>

pkgname=perl-io-dirent
pkgver=0.05
pkgrel=2
pkgdesc='Perl IO::Dirent module - Access to dirent structs returned by readdir'
arch=('i686' 'x86_64')
license=('GPL' 'PerlArtistic')
url='http://search.cpan.org/~scottw/IO-Dirent/'
options=('!emptydirs')
source=("http://search.cpan.org/CPAN/authors/id/S/SC/SCOTTW/IO-Dirent-$pkgver.tar.gz")
md5sums=('248ab22c31a310c3482fd99592ae550c')

build() {
  cd IO-Dirent-$pkgver
  USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
}

check() {
  cd IO-Dirent-$pkgver
  make test
}

package() {
  cd IO-Dirent-$pkgver
  make install DESTDIR="$pkgdir/"
}

# vim:set ts=2 sw=2 ft=sh et: