summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-11-18 02:09:16 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-11-18 02:09:16 +0000
commit7ebd33fd94e8f7999868a272fa62ecace7f8ae27 (patch)
treef259d1e20a760206bf23039300c6e7d9cf29e6a5 /user
parent4290b70f4cdd9244438c0015a7320a81fb36572e (diff)
downloadpackages-7ebd33fd94e8f7999868a272fa62ecace7f8ae27.tar.gz
packages-7ebd33fd94e8f7999868a272fa62ecace7f8ae27.tar.bz2
packages-7ebd33fd94e8f7999868a272fa62ecace7f8ae27.tar.xz
packages-7ebd33fd94e8f7999868a272fa62ecace7f8ae27.zip
user/perl-test-sharedfork: new package
Diffstat (limited to 'user')
-rw-r--r--user/perl-test-sharedfork/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/user/perl-test-sharedfork/APKBUILD b/user/perl-test-sharedfork/APKBUILD
new file mode 100644
index 000000000..aaa8a998b
--- /dev/null
+++ b/user/perl-test-sharedfork/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-test-sharedfork
+_pkgname=Test-SharedFork
+pkgver=0.35
+pkgrel=0
+pkgdesc="Fork during Perl tests"
+url="https://metacpan.org/release/Test-SharedFork"
+arch="noarch"
+license="Artistic-1.0-Perl OR GPL-2.0-only"
+depends=""
+checkdepends="perl-test-requires"
+makedepends="perl-dev"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/E/EX/EXODIST/Test-SharedFork-$pkgver.tar.gz"
+builddir="$srcdir/Test-SharedFork-$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="e5948dfb34cfaf35a2fb2783c726f1cea2ae2f4bbdc4cbb912f83c877422ceabb3e0323c8c669b3c3a08e6d2a12106309528f0f674657001e6aeb3cb3c1dfd9f Test-SharedFork-0.35.tar.gz"