mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-06 05:37:13 +08:00
25 lines
758 B
Bash
25 lines
758 B
Bash
#
|
|
# Platform Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
pkgname=perl-text-charwidth
|
|
pkgver=0.04
|
|
pkgrel=1
|
|
pkgdesc="Perl/CPAN Module Text::CharWidth"
|
|
arch=("i686" "x86_64")
|
|
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
|
|
}
|