summaryrefslogtreecommitdiff
path: root/user/perl-test-run-plugin-tdf/APKBUILD
blob: 2991ed16a5206e35f7a567ff5160e890afded1fc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-test-run-plugin-trimdisplayedfilenames
_pkgreal=Test-Run-Plugin-TrimDisplayedFilenames
_author=SHLOMIF
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.0126
pkgrel=0
pkgdesc="Handle excessively long filenames in Perl Test::Run suites"
url="https://metacpan.org/release/Test-Run-Plugin-TrimDisplayedFilenames"
arch="noarch"
license="MIT"
depends="perl perl-moose perl-mro-compat perl-test-run perl-test-run-cmdline"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$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="3a38b6de2c3035e6f87236151183d7416855752bc0fc0b117cc7c02db70f8dce32b5fcbc2b369f9699aec284a3fb9cc14c96beb4da30062cc564a31590831728  Test-Run-Plugin-TrimDisplayedFilenames-0.0126.tar.gz"