summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-02 20:02:51 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-02 20:02:51 +0000
commitd7e3bd3b22618c41fe0dd9fc363e4eac32d3bb92 (patch)
tree22eb91a6770bfff73c92fe4ea57302e4d7f6af3e /user
parent72a3cc2e6fca21236883c689fc8f6d9fbc7a62fe (diff)
downloadpackages-d7e3bd3b22618c41fe0dd9fc363e4eac32d3bb92.tar.gz
packages-d7e3bd3b22618c41fe0dd9fc363e4eac32d3bb92.tar.bz2
packages-d7e3bd3b22618c41fe0dd9fc363e4eac32d3bb92.tar.xz
packages-d7e3bd3b22618c41fe0dd9fc363e4eac32d3bb92.zip
user/perl-test-trailingspace: new package
Diffstat (limited to 'user')
-rw-r--r--user/perl-test-trailingspace/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/user/perl-test-trailingspace/APKBUILD b/user/perl-test-trailingspace/APKBUILD
new file mode 100644
index 000000000..ccaf8e873
--- /dev/null
+++ b/user/perl-test-trailingspace/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-test-trailingspace
+pkgver=0.0301
+pkgrel=0
+pkgdesc="Test for trailing spaces in Perl source files"
+url="https://metacpan.org/release/Test-TrailingSpace"
+arch="noarch"
+license="MIT"
+depends="perl-file-find-object-rule"
+makedepends="perl-dev perl-module-build"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/Test-TrailingSpace-$pkgver.tar.gz"
+builddir="$srcdir/Test-TrailingSpace-$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="9ec511759b12265c2a98a06a54081e0ca0377e707b29174fb874fd505330e0abfafebe910f7ceba9f8a6bcbfcf5d74fc8ffdca2e17b9cad15c207213449085d4 Test-TrailingSpace-0.0301.tar.gz"