[arch-commits] Commit in perl-tie-cycle/repos (staging-any staging-any/PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Aug 1 09:20:39 UTC 2018
Date: Wednesday, August 1, 2018 @ 09:20:39
Author: felixonmars
Revision: 330051
archrelease: copy trunk to staging-any
Added:
perl-tie-cycle/repos/staging-any/
perl-tie-cycle/repos/staging-any/PKGBUILD
(from rev 330049, perl-tie-cycle/trunk/PKGBUILD)
----------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
Copied: perl-tie-cycle/repos/staging-any/PKGBUILD (from rev 330049, perl-tie-cycle/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD (rev 0)
+++ staging-any/PKGBUILD 2018-08-01 09:20:39 UTC (rev 330051)
@@ -0,0 +1,38 @@
+# $ID$
+# Maintainer: Rémy Oudompheng <remy at archlinux.org>
+
+pkgname=perl-tie-cycle
+_dist=Tie-Cycle
+pkgver=1.225
+pkgrel=2
+pkgdesc="Cycle through a list of values via a scalar"
+arch=('any')
+url="https://metacpan.org/release/${_dist}"
+license=('PerlArtistic' 'GPL')
+depends=('perl')
+checkdepends=('perl-test-pod' 'perl-test-pod-coverage')
+options=('!emptydirs')
+source=(http://search.cpan.org/CPAN/authors/id/B/BD/BDFOY/${_dist}-${pkgver}.tar.gz)
+md5sums=('260fd7edbfefd14b40d27234cd59b6ee')
+sha256sums=('f330d821694af9b269b6083570d5c10ea22e6eb3b21841048ce28252b1c03d45')
+
+build() {
+ cd "${srcdir}/${_dist}-${pkgver}"
+ unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+ export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+ perl Makefile.PL
+ make
+}
+
+check() {
+ cd "${srcdir}/${_dist}-${pkgver}"
+ unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+ export PERL_MM_USE_DEFAULT=1
+ make test
+}
+
+package() {
+ cd "${srcdir}/${_dist}-${pkgver}"
+ unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+ make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
+}
More information about the arch-commits
mailing list