[arch-commits] Commit in perl-app-borgrestore/repos (2 files)
Florian Pritz
bluewind at archlinux.org
Wed Aug 1 12:23:51 UTC 2018
Date: Wednesday, August 1, 2018 @ 12:23:51
Author: bluewind
Revision: 366759
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 366758, perl-app-borgrestore/trunk/PKGBUILD)
----------+
PKGBUILD | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 54 insertions(+)
Copied: perl-app-borgrestore/repos/community-staging-any/PKGBUILD (from rev 366758, perl-app-borgrestore/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2018-08-01 12:23:51 UTC (rev 366759)
@@ -0,0 +1,54 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+
+pkgname=perl-app-borgrestore
+pkgver=3.0.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-timedate
+ perl-version-compare borg)
+makedepends=(perl-devel-checkbin 'perl-module-build-tiny>=0.035')
+checkdepends=(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=("http://search.cpan.org/CPAN/authors/id/B/BL/BLUEWIND/App-BorgRestore-$pkgver.tar.gz")
+md5sums=(968027d2424538764a482dc4dbf86053)
+sha512sums=(ed296b891130cc0e6074f943ecde0158f865f06f168144259af95c40f958ba1151f3769dfed12d09469a88e9b847dc183238abbdd37d23eb94b5f4742420b95a)
+_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"
+ find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+)
+
+# 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