mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-19 05:36:38 +02:00
30 lines
838 B
Text
30 lines
838 B
Text
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=perl-test-longstring
|
|
_pkgreal=Test-LongString
|
|
pkgver=0.17
|
|
pkgrel=4
|
|
pkgdesc="Tests strings for equality"
|
|
url="https://metacpan.org/release/Test-LongString/"
|
|
arch="noarch"
|
|
license="Artistic-1.0-Perl OR GPL-1.0-or-later"
|
|
depends="perl"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/R/RG/RGARCIA/Test-LongString-$pkgver.tar.gz"
|
|
|
|
builddir="$srcdir/$_pkgreal-$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="1c0cd6fea35bb72816451ce0790002c9dfb945390bc85d22d04670dd5af7ebbe795307ad361e2615ce4ab4f02a317a3aa5d297f2165bd3b1f6de40b3240f1352 Test-LongString-0.17.tar.gz"
|