mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-21 18:25:41 +03:00
29 lines
870 B
Text
29 lines
870 B
Text
# Contributor: Keith Maxwell <keith.maxwell@gmail.com>
|
|
# Maintainer: Keith Maxwell <keith.maxwell@gmail.com>
|
|
pkgname=perl-text-charwidth
|
|
pkgver=0.04
|
|
pkgrel=2
|
|
pkgdesc="Text:CharWidth perl module"
|
|
url="https://metacpan.org/pod/Text::CharWidth"
|
|
arch="all"
|
|
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
|
makedepends="perl-dev"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/K/KU/KUBOTA/Text-CharWidth-$pkgver.tar.gz"
|
|
builddir="$srcdir/Text-CharWidth-$pkgver"
|
|
|
|
build() {
|
|
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
|
}
|
|
|
|
sha512sums="8ec7898fcd4a3bb6e9e36fbd50c28e023298f830fce33dafd1445de97732b337d3a6f9a075059a56592d0f118ba83c45e61fa4fd4a6d3bfbb2cd25215a061e1c Text-CharWidth-0.04.tar.gz"
|