summaryrefslogtreecommitdiff
path: root/community/perl-text-charwidth/PKGBUILD
blob: 85af5dcf3d174b2a674265cae8c823df9b582b24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $Id: PKGBUILD 35706 2010-12-22 01:26:17Z tdziedzic $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-text-charwidth
pkgver=0.04
pkgrel=5
pkgdesc="Perl/CPAN Module Text::CharWidth"
arch=("i686" "x86_64" 'mips64el')
url="http://search.cpan.org/dist/Text-CharWidth"
license=("GPL" "PerlArtistic")
source=("http://www.cpan.org/authors/id/K/KU/KUBOTA/Text-CharWidth-$pkgver.tar.gz")
md5sums=('37a723df0580c0758c0ee67b37336c15')

build() {
  cd $srcdir/Text-CharWidth-$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
}