mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 11:14:35 +08:00
26 lines
653 B
Bash
26 lines
653 B
Bash
# maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
|
|
|
|
pkgname=perl-capture-tiny
|
|
_realname=Capture-Tiny
|
|
pkgver=0.22
|
|
pkgrel=1
|
|
pkgdesc="Capture STDOUT and STDERR from Perl, XS or external programs"
|
|
arch=(any)
|
|
license=(PerlArtistic GPL)
|
|
depends=(perl)
|
|
url="http://search.cpan.org/dist/Capture-Tiny"
|
|
options=('!emptydirs')
|
|
source=("http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/$_realname-$pkgver.tar.gz")
|
|
md5sums=('f270ee3682aabf10747592f6c05ef7ba')
|
|
|
|
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
|
|
}
|