mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-19 12:42:30 +02:00
32 lines
867 B
Plaintext
32 lines
867 B
Plaintext
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=perl-test-longstring
|
|
_pkgname=Test-LongString
|
|
pkgver=0.17
|
|
pkgrel=3
|
|
pkgdesc="Tests strings for equality"
|
|
url="https://metacpan.org/release/Test-LongString/"
|
|
arch="noarch"
|
|
license="GPL-2.0 or Artistic"
|
|
depends="perl"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/R/RG/RGARCIA/$_pkgname-$pkgver.tar.gz"
|
|
|
|
builddir="$srcdir/$_pkgname-$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"
|