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

Evangelos Foutras foutrelis at archlinux.org
Sat May 25 09:19:14 UTC 2019


    Date: Saturday, May 25, 2019 @ 09:19:13
  Author: foutrelis
Revision: 470103

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

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

Copied: perl-path-tiny/repos/community-staging-any/PKGBUILD (from rev 470102, perl-path-tiny/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-05-25 09:19:13 UTC (rev 470103)
@@ -0,0 +1,45 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+
+pkgname=perl-path-tiny
+pkgver=0.108
+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=(1a7fbdccc4585074ce4419b7bec0966c)
+sha512sums=(21cbc8ec84474a2fc14b77a2c8b659676d4842a87a7572497c0dd6ba1c2e5f91cdefa30fc9578fdc416d8c8ee4155ff302833925c1fdf9242c898ba6a0ebee13)
+_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