summaryrefslogtreecommitdiff
path: root/community/perl-text-kakasi
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-06-29 23:10:39 +0000
committerroot <root@rshg047.dnsready.net>2011-06-29 23:10:39 +0000
commit5e8a6a470237711ad18f12dde87deea6f2b8b0e0 (patch)
tree438c05155823f16b71f4277fef949610bf6fe826 /community/perl-text-kakasi
parent108636e69eaeef67f4e7263c7f26105e25979e89 (diff)
Wed Jun 29 23:10:38 UTC 2011
Diffstat (limited to 'community/perl-text-kakasi')
-rw-r--r--community/perl-text-kakasi/PKGBUILD24
1 files changed, 16 insertions, 8 deletions
diff --git a/community/perl-text-kakasi/PKGBUILD b/community/perl-text-kakasi/PKGBUILD
index f9813af76..78b522c7c 100644
--- a/community/perl-text-kakasi/PKGBUILD
+++ b/community/perl-text-kakasi/PKGBUILD
@@ -1,25 +1,33 @@
-# $Id: PKGBUILD 35709 2010-12-22 01:27:08Z tdziedzic $
+# $Id: PKGBUILD 47575 2011-05-23 20:14:17Z tdziedzic $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Allan McRae <mcrae_allan@hotmail.com>
# Contributor: François Charette <firmicus ατ gmx δοτ net>
pkgname=perl-text-kakasi
pkgver=2.04
-pkgrel=6
+pkgrel=7
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')
+depends=('perl' 'kakasi')
options=('!emptydirs')
-source=(http://www.cpan.org/authors/id/D/DA/DANKOGAI/Text-Kakasi-$pkgver.tar.gz)
+source=("http://www.cpan.org/authors/id/D/DA/DANKOGAI/Text-Kakasi-${pkgver}.tar.gz")
md5sums=('5a9e381cb93edfd707124a63c60f96b1')
build() {
- cd $srcdir/Text-Kakasi-$pkgver
+ cd Text-Kakasi-${pkgver}
+
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+
make
- make install DESTDIR=$pkgdir
- find $pkgdir -name '.packlist' -delete
- find $pkgdir -name '*.pod' -delete
+}
+
+package() {
+ cd Text-Kakasi-${pkgver}
+
+ make install DESTDIR=${pkgdir}
+
+ find ${pkgdir} -name '.packlist' -delete
+ find ${pkgdir} -name '*.pod' -delete
}