[arch-commits] Commit in perl-test-mocktime/repos (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Sun May 29 09:33:25 UTC 2022


    Date: Sunday, May 29, 2022 @ 09:33:25
  Author: felixonmars
Revision: 1214033

archrelease: copy trunk to community-staging-any

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

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

Copied: perl-test-mocktime/repos/community-staging-any/PKGBUILD (from rev 1214028, perl-test-mocktime/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2022-05-29 09:33:25 UTC (rev 1214033)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-test-mocktime
+pkgver=0.17
+pkgrel=6
+pkgdesc="Replaces actual time with simulated time"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl')
+url='https://search.cpan.org/dist/Test-MockTime'
+source=("https://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:



More information about the arch-commits mailing list