Christoph Reiter f0230c32ea More cpan PURLs
2025-08-09 22:47:04 +02:00

39 lines
849 B
Bash

# Maintainer: Alexey Pavlov <alexpux@gmail.com>
_realname=IPC-Run3
pkgname=perl-${_realname}
pkgver=0.049
pkgrel=2
pkgdesc="run a subprocess with input/ouput redirection"
arch=('any')
url="https://metacpan.org/dist/IPC-Run3"
msys2_references=(
'purl: pkg:cpan/RJBS/IPC-Run3'
)
groups=('perl-modules')
depends=('perl')
license=('PerlArtistic' 'GPL')
options=('!emptydirs')
source=("https://cpan.metacpan.org/authors/id/R/RJ/RJBS/${_realname}-${pkgver}.tar.gz")
sha256sums=('9d048ae7b9ae63871bae976ba01e081d887392d904e5d48b04e22d35ed22011a')
prepare() {
cd "${srcdir}/${_realname}-${pkgver}"
}
build() {
cd "${srcdir}/${_realname}-${pkgver}"
perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
cd "${srcdir}/${_realname}-${pkgver}"
make test
}
package() {
cd "${srcdir}/${_realname}-${pkgver}"
make DESTDIR="$pkgdir" install
}