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

Felix Yan felixonmars at archlinux.org
Wed Aug 1 09:07:38 UTC 2018


    Date: Wednesday, August 1, 2018 @ 09:07:38
  Author: felixonmars
Revision: 366261

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 366260, perl-path-tiny/trunk/PKGBUILD)

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

Copied: perl-path-tiny/repos/community-staging-any/PKGBUILD (from rev 366260, perl-path-tiny/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-08-01 09:07:38 UTC (rev 366261)
@@ -0,0 +1,45 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+
+pkgname=perl-path-tiny
+pkgver=0.104
+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=("http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/Path-Tiny-$pkgver.tar.gz")
+md5sums=(17354181d9794df01be555b25114dd24)
+sha512sums=(6574e48645ebb4f61d45c1365e8b63cfaac6423394ba08363cfd62d3d98d163bd333d997bf5f7fd0e37ff94fcb3a3e19871eb7499b295399f048fd6a4bd3c78c)
+_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"
+  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