PKGBUILDs/community/perl-text-kakasi/PKGBUILD
2009-10-09 21:15:33 -05:00

24 lines
791 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Allan McRae <mcrae_allan@hotmail.com>
# Contributor: François Charette <firmicus ατ gmx δοτ net>
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
}