Date: Friday, April 20, 2018 @ 07:09:46
  Author: felixonmars
Revision: 317114

archrelease: copy trunk to community-any

Added:
  perl-test-mocktime/repos/community-any/
  perl-test-mocktime/repos/community-any/PKGBUILD
    (from rev 317113, perl-test-mocktime/trunk/PKGBUILD)

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Copied: perl-test-mocktime/repos/community-any/PKGBUILD (from rev 317113, 
perl-test-mocktime/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD                              (rev 0)
+++ community-any/PKGBUILD      2018-04-20 07:09:46 UTC (rev 317114)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+
+pkgname=perl-test-mocktime
+pkgver=0.17
+pkgrel=1
+pkgdesc="Replaces actual time with simulated time"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl')
+url='http://search.cpan.org/dist/Test-MockTime'
+source=("http://search.cpan.org/CPAN/authors/id/D/DD/DDICK/Test-MockTime-$pkgver.tar.gz";)
+sha512sums=('ad73be430e3a483a61209bacf4bfa170d6eec6597d3c0efcf5de167f9c129fbf656581dcdceeba88bd98e530371db2542894ded793f9d46e4155c612e2b7cac5')
+
+build() {
+  cd "$srcdir/Test-MockTime-$pkgver"
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd "$srcdir/Test-MockTime-$pkgver"
+  make test
+}
+
+package() {
+  cd "$srcdir/Test-MockTime-$pkgver"
+  make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:

Reply via email to