summaryrefslogtreecommitdiff
path: root/community-testing/perl-text-charwidth/PKGBUILD
blob: c7bd0894ce512516798816e6c2ad50ea5e8dc0ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# $Id: PKGBUILD 71450 2012-05-27 07:41:59Z bluewind $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>

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

build() {
  cd Text-CharWidth-${pkgver}

  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor

  make
}

package() {
  cd Text-CharWidth-${pkgver}

  make install DESTDIR=${pkgdir}

  find ${pkgdir} -name '.packlist' -delete
  find ${pkgdir} -name '*.pod' -delete
}