[arch-commits] Commit in perl-capture-tiny/repos (staging-any staging-any/PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat May 25 08:53:40 UTC 2019
Date: Saturday, May 25, 2019 @ 08:53:39
Author: felixonmars
Revision: 353970
archrelease: copy trunk to staging-any
Added:
perl-capture-tiny/repos/staging-any/
perl-capture-tiny/repos/staging-any/PKGBUILD
(from rev 353969, perl-capture-tiny/trunk/PKGBUILD)
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Copied: perl-capture-tiny/repos/staging-any/PKGBUILD (from rev 353969, perl-capture-tiny/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD (rev 0)
+++ staging-any/PKGBUILD 2019-05-25 08:53:39 UTC (rev 353970)
@@ -0,0 +1,35 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Caleb Cushing <xenoterracide at gmail.com>
+
+pkgname=perl-capture-tiny
+_realname=Capture-Tiny
+pkgver=0.48
+pkgrel=2
+pkgdesc="Capture STDOUT and STDERR from Perl, XS or external programs"
+arch=(any)
+license=(PerlArtistic GPL)
+depends=(perl)
+url="https://metacpan.org/release/Capture-Tiny"
+options=('!emptydirs')
+source=("https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/$_realname-$pkgver.tar.gz")
+sha256sums=('6c23113e87bad393308c90a207013e505f659274736638d8c79bac9c67cc3e19')
+
+build() {
+ cd $_realname-$pkgver
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd $_realname-$pkgver
+ unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+ export PERL_MM_USE_DEFAULT=1
+ make test
+}
+
+package() {
+ cd $_realname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
+
+# vim:set sw=2 et:
More information about the arch-commits
mailing list