# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $ # Maintainer: Allan McRae # Contributor: François Charette pkgname=perl-text-kakasi pkgver=2.04 pkgrel=4 pkgdesc="Perl frontend to kakasi" arch=('i686' 'x86_64') url="http://search.cpan.org/dist/Text-Kakasi" license=('GPL' 'PerlArtistic') depends=('perl>=5.10.0' 'kakasi') options=('!emptydirs') source=(http://www.cpan.org/authors/id/D/DA/DANKOGAI/Text-Kakasi-$pkgver.tar.gz) md5sums=('5a9e381cb93edfd707124a63c60f96b1') build() { cd $srcdir/Text-Kakasi-$pkgver PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 make || return 1 make install DESTDIR=$pkgdir || return 1 find $pkgdir -name '.packlist' -delete find $pkgdir -name '*.pod' -delete }