[arch-commits] Commit in perl-path-tiny/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon May 24 08:32:25 UTC 2021
Date: Monday, May 24, 2021 @ 08:32:25
Author: foutrelis
Revision: 943935
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 943932, perl-path-tiny/trunk/PKGBUILD)
----------+
PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
Copied: perl-path-tiny/repos/community-staging-any/PKGBUILD (from rev 943932, perl-path-tiny/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-05-24 08:32:25 UTC (rev 943935)
@@ -0,0 +1,44 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+
+pkgname=perl-path-tiny
+pkgver=0.118
+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=(cb34fd356725ec12b78e88ddac37db08)
+sha512sums=(cca91e7fcb099aa7aec73135d295f3f32366ca4bec17201183d3e5cb69cf7e58f2554e162318bc34dc787689bab338286937c0e83065d8aff4d4862aa53efc61)
+_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