summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-02 01:47:25 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-02 01:47:25 +0000
commit8d6b93670e6fb761bb39663c6242fafd8a84c90c (patch)
tree6c11e7297507303b7f9df94a8727cbb72b1ccc28
parent4648f3ca573c17a3c2d1465db63f3b45b77a26b8 (diff)
downloadpackages-8d6b93670e6fb761bb39663c6242fafd8a84c90c.tar.gz
packages-8d6b93670e6fb761bb39663c6242fafd8a84c90c.tar.bz2
packages-8d6b93670e6fb761bb39663c6242fafd8a84c90c.tar.xz
packages-8d6b93670e6fb761bb39663c6242fafd8a84c90c.zip
user/perl-test-run-plugin-trimdisplayedfilenames: new package
-rw-r--r--user/perl-test-run-plugin-tdf/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/user/perl-test-run-plugin-tdf/APKBUILD b/user/perl-test-run-plugin-tdf/APKBUILD
new file mode 100644
index 000000000..34b106e39
--- /dev/null
+++ b/user/perl-test-run-plugin-tdf/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-test-run-plugin-trimdisplayedfilenames
+pkgver=0.0125
+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-moose perl-mro-compat perl-test-run perl-test-run-cmdline"
+makedepends="perl-dev"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/Test-Run-Plugin-TrimDisplayedFilenames-$pkgver.tar.gz"
+builddir="$srcdir/Test-Run-Plugin-TrimDisplayedFilenames-$pkgver"
+
+build() {
+ cd "$builddir"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd "$builddir"
+ make test
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+sha512sums="79bdfc093e8a4ce16fe933ebe367e71c27eb67500a6fd1ce57e51a5998f35cbf3f6afe143c74ce82e1e5ab700399fec48b0acbb9e23cc7796a8aa5cdc2bd9ea3 Test-Run-Plugin-TrimDisplayedFilenames-0.0125.tar.gz"