summaryrefslogtreecommitdiff
path: root/community/perl-io-dirent/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/perl-io-dirent/PKGBUILD
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/perl-io-dirent/PKGBUILD')
-rw-r--r--community/perl-io-dirent/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/community/perl-io-dirent/PKGBUILD b/community/perl-io-dirent/PKGBUILD
new file mode 100644
index 000000000..9a2de7e7f
--- /dev/null
+++ b/community/perl-io-dirent/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 91681 2013-05-26 09:25:30Z bluewind $
+# Maintainer: Sébastien Luttringer
+
+pkgname=perl-io-dirent
+pkgver=0.05
+pkgrel=3
+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 et: