* update perl-capture-tiny to 0.50-2

This commit is contained in:
Alexander Baldeck 2025-02-17 14:30:25 +01:00
parent cfa34fcec7
commit ab0536dba6
2 changed files with 9 additions and 8 deletions

View File

@ -1,7 +1,7 @@
pkgbase = perl-capture-tiny
pkgdesc = Capture STDOUT and STDERR from Perl, XS or external programs
pkgver = 0.50
pkgrel = 1
pkgrel = 2
url = https://metacpan.org/dist/Capture-Tiny
arch = any
license = Apache-2.0

View File

@ -1,32 +1,33 @@
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
# Contributor: Caleb Cushing <xenoterracide@gmail.com>
pkgname=perl-capture-tiny
_dist=Capture-Tiny
pkgver=0.50
pkgrel=1
pkgrel=2
pkgdesc="Capture STDOUT and STDERR from Perl, XS or external programs"
url="https://metacpan.org/dist/Capture-Tiny"
url="https://metacpan.org/dist/$_dist"
arch=(any)
license=(Apache-2.0)
depends=(perl)
options=('!emptydirs')
source=(https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/Capture-Tiny-$pkgver.tar.gz)
source=("https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/$_dist-$pkgver.tar.gz")
b2sums=('a4d857e6e7238b599afc500516d13d10a7eb060922981d5eb0d6be24c98875ba490c4f2d66b340339d61d5731cf663da0222dc02793a00bf304f3b20146da826')
build() {
cd Capture-Tiny-$pkgver
cd $_dist-$pkgver
perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
cd Capture-Tiny-$pkgver
cd $_dist-$pkgver
make test
}
package() {
cd Capture-Tiny-$pkgver
cd $_dist-$pkgver
make DESTDIR="$pkgdir" install
}