| 1 | # Automatically generated by apkbuild-cpan, template 4 |
| 2 | # Contributor: Celeste <[email protected]> |
| 3 | # Maintainer: |
| 4 | pkgname=perl-parallel-pipes |
| 5 | pkgver=1.0.0 |
| 6 | pkgrel=0 |
| 7 | #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan |
| 8 | _pkgreal=Parallel-Pipes |
| 9 | pkgdesc="Parallel processing using pipe(2) for communication and synchronization" |
| 10 | url="https://metacpan.org/release/Parallel-Pipes/" |
| 11 | arch="noarch" |
| 12 | license="GPL-1.0-or-later OR Artistic-1.0-Perl" |
| 13 | depends="perl" |
| 14 | makedepends="perl-module-build-tiny" |
| 15 | subpackages="$pkgname-doc" |
| 16 | source="https://cpan.metacpan.org/authors/id/S/SK/SKAJI/Parallel-Pipes-v$pkgver.tar.gz" |
| 17 | builddir="$srcdir/$_pkgreal-v$pkgver" |
| 18 | |
| 19 | build() { |
| 20 | export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') |
| 21 | perl Build.PL \ |
| 22 | --installdirs=vendor \ |
| 23 | --create_packlist=0 |
| 24 | ./Build |
| 25 | } |
| 26 | |
| 27 | check() { |
| 28 | ./Build test |
| 29 | } |
| 30 | |
| 31 | package() { |
| 32 | ./Build install --destdir="$pkgdir" |
| 33 | } |
| 34 | |
| 35 | sha512sums=" |
| 36 | 9123d18436a2b4f1e7c5e6a479ae63e54cdc8212a53090e9c76ae85fa79d53b12eeec17cd29e433e9f4e3434297b686a8ce326e32a446720c11448bc1a6cca89 Parallel-Pipes-v1.0.0.tar.gz |
| 37 | " |