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

30 lines
787 B
Bash

# Maintainer: Alexey Pavlov <alexpux@gmail.com>
_realname=Capture-Tiny
pkgname=perl-${_realname}
pkgver=0.50
pkgrel=1
pkgdesc="Capture STDOUT and STDERR from Perl, XS or external programs"
arch=('any')
license=('PerlArtistic' 'GPL')
depends=('perl')
groups=('perl-modules')
url="https://metacpan.org/dist/Capture-Tiny"
msys2_references=(
'purl: pkg:cpan/DAGOLDEN/Capture-Tiny'
)
options=('!emptydirs')
source=("https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/${_realname}-${pkgver}.tar.gz")
sha256sums=('ca6e8d7ce7471c2be54e1009f64c367d7ee233a2894cacf52ebe6f53b04e81e5')
build() {
cd "${srcdir}/${_realname}-${pkgver}"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
package() {
cd "${srcdir}/${_realname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}