1 # Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
2 # Contributor: François Charette <firmicus ατ gmx δοτ net>
7 pkgdesc="Create read-only scalars, arrays, hashes."
9 url="http://search.cpan.org/~ROODE/Readonly"
10 license=('GPL' 'PerlArtistic')
12 options=('!emptydirs')
13 source=("http://www.cpan.org/authors/id/R/RO/ROODE/Readonly-$pkgver.tar.gz")
14 md5sums=('0acef3a995ac9ecf575f66a726d638f4')
17 cd $srcdir/Readonly-$pkgver
19 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
24 cd $srcdir/Readonly-$pkgver
26 make install DESTDIR="${pkgdir}"
27 find ${pkgdir} -name perllocal.pod -delete
28 find ${pkgdir} -name .packlist -delete