aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-ipc-system-simple/APKBUILD
blob: 7965e248f0aa9a45f2ad438f155a84e253a4e3f4 (plain)
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
35
36
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman@gmail.com>
pkgname=perl-ipc-system-simple
_pkgreal=IPC-System-Simple
pkgver=1.26
pkgrel=0
pkgdesc="Run commands simply, with detailed diagnostics"
url="https://metacpan.org/release/IPC-System-Simple"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/J/JK/JKEENAN/IPC-System-Simple-$pkgver.tar.gz"

builddir="$srcdir/$_pkgreal-$pkgver"

prepare() {
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}

build() {
	make
}

check() {
	make test
}

package() {
	make DESTDIR="$pkgdir" install
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="cf9a0ba99ecb080010f9da995d5985501dc61fb4254c4ba0c0033000e5f2678f728feb8cf3f96324439fcc77dbd76da6a509e0b75203ef37a8ca11bf1a2aa2bb  IPC-System-Simple-1.26.tar.gz"