[arch-commits] Commit in perl-path-tiny/repos (2 files)

Felix Yan felixonmars at archlinux.org
Sun Jun 21 10:28:04 UTC 2020


    Date: Sunday, June 21, 2020 @ 10:28:03
  Author: felixonmars
Revision: 648955

archrelease: copy trunk to community-staging-any

Added:
  perl-path-tiny/repos/community-staging-any/
  perl-path-tiny/repos/community-staging-any/PKGBUILD
    (from rev 648954, perl-path-tiny/trunk/PKGBUILD)

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

Copied: perl-path-tiny/repos/community-staging-any/PKGBUILD (from rev 648954, perl-path-tiny/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-06-21 10:28:03 UTC (rev 648955)
@@ -0,0 +1,44 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+
+pkgname=perl-path-tiny
+pkgver=0.112
+pkgrel=2
+pkgdesc='File path utility'
+arch=(any)
+license=(PerlArtistic GPL)
+options=(!emptydirs)
+depends=('perl>=5.8.1')
+url=https://metacpan.org/release/Path-Tiny
+source=("https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/Path-Tiny-$pkgver.tar.gz")
+md5sums=(bf2a021d653d7252a39c0d31b41a7c6e)
+sha512sums=(c387192fc42a78aee506fa332fd9fcd385fbc28fed02bc41b9c50e4cff6c65700ad3fd9d840871ef3bf7a8029719d8fd8b84f993ac816ff65c8d4e2203ad3b3f)
+_ddir="Path-Tiny-$pkgver"
+
+build()
+(
+  cd "$srcdir/$_ddir"
+  export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+  unset PERL5LIB PERL_MM_OPT
+  /usr/bin/perl Makefile.PL
+  make
+)
+
+check()
+(
+  cd "$srcdir/$_ddir"
+  export PERL_MM_USE_DEFAULT=1
+  unset PERL5LIB
+  make test
+)
+
+package()
+(
+  cd "$srcdir/$_ddir"
+  make 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