core/perl-text-charwidth/PKGBUILD

30 lines
683 B
Bash
Raw Normal View History

2011-03-27 02:14:23 +08:00
# Platform Packages for Chakra, part of chakra-project.org
pkgname=perl-text-charwidth
pkgver=0.04
2012-05-11 04:59:08 +08:00
pkgrel=2
2011-03-27 02:14:23 +08:00
pkgdesc="Perl/CPAN Module Text::CharWidth"
arch=("i686" "x86_64")
url="http://search.cpan.org/dist/Text-CharWidth"
license=("GPL" "PerlArtistic")
2012-05-11 04:59:08 +08:00
options=('!emptydirs')
source=("http://www.cpan.org/authors/id/K/KU/KUBOTA/Text-CharWidth-${pkgver}.tar.gz")
2011-03-27 02:14:23 +08:00
md5sums=('37a723df0580c0758c0ee67b37336c15')
build() {
2012-05-11 04:59:08 +08:00
cd Text-CharWidth-${pkgver}
2011-03-27 02:14:23 +08:00
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
2012-05-11 04:59:08 +08:00
2011-03-27 02:14:23 +08:00
make
2012-05-11 04:59:08 +08:00
}
package() {
cd Text-CharWidth-${pkgver}
make install DESTDIR=${pkgdir}
find ${pkgdir} -name '.packlist' -delete
find ${pkgdir} -name '*.pod' -delete
2011-03-27 02:14:23 +08:00
}