[arch-commits] Commit in perl-app-borgrestore/repos (2 files)

Felix Yan felixonmars at archlinux.org
Sun Jun 21 16:06:37 UTC 2020


    Date: Sunday, June 21, 2020 @ 16:06:36
  Author: felixonmars
Revision: 649606

archrelease: copy trunk to community-staging-any

Added:
  perl-app-borgrestore/repos/community-staging-any/
  perl-app-borgrestore/repos/community-staging-any/PKGBUILD
    (from rev 649602, perl-app-borgrestore/trunk/PKGBUILD)

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

Copied: perl-app-borgrestore/repos/community-staging-any/PKGBUILD (from rev 649602, perl-app-borgrestore/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-06-21 16:06:36 UTC (rev 649606)
@@ -0,0 +1,54 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+
+pkgname=perl-app-borgrestore
+pkgver=3.4.0
+pkgrel=2
+pkgdesc='Restore paths from borg backups'
+arch=(any)
+license=(PerlArtistic GPL)
+options=(!emptydirs)
+depends=('perl>=5.14.0' perl-dbd-sqlite perl-dbi perl-file-pushd
+         perl-function-parameters perl-ipc-run perl-json perl-log-any
+         perl-log-any-adapter-log4perl perl-log-log4perl
+         perl-number-bytes-human perl-path-tiny perl-scalar-list-utils
+         perl-strictures perl-timedate perl-version-compare borg)
+makedepends=(perl-devel-checkbin 'perl-module-build-tiny>=0.035')
+checkdepends=(perl-log-any-adapter-tap perl-software-license
+              perl-test-differences perl-test-exception perl-test-mockobject
+              perl-test-pod perl-test-pod-coverage)
+url=https://metacpan.org/release/App-BorgRestore
+source=("https://cpan.metacpan.org/authors/id/B/BL/BLUEWIND/App-BorgRestore-$pkgver.tar.gz")
+md5sums=(66db5ec24338e654bfdfd43e5543766f)
+sha512sums=(ea7b4350026f83d3c839593a9158b58892cf39a1ab69b0f57a07b35df56aeff4008637b1d1b8c56ac9e31d781edffd35b509beaa2092f88ba10599574682e341)
+_ddir="App-BorgRestore-$pkgver"
+
+build()
+(
+  cd "$srcdir/$_ddir"
+  export PERL_MM_USE_DEFAULT=1 MODULEBUILDRC=/dev/null
+  unset PERL5LIB PERL_MB_OPT
+  /usr/bin/perl Build.PL
+  ./Build
+)
+
+check()
+(
+  cd "$srcdir/$_ddir"
+  export PERL_MM_USE_DEFAULT=1 MODULEBUILDRC=/dev/null
+  unset PERL5LIB PERL_MB_OPT
+  ./Build test
+)
+
+package()
+(
+  cd "$srcdir/$_ddir"
+  export PERL_MM_USE_DEFAULT=1 MODULEBUILDRC=/dev/null
+  unset PERL5LIB PERL_MB_OPT
+  ./Build install --installdirs=vendor --destdir="$pkgdir"
+)
+
+# Local Variables:
+# mode: shell-script
+# sh-basic-offset: 2
+# End:
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list