[arch-commits] Commit in perl-version-compare/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Mon May 24 08:36:30 UTC 2021


    Date: Monday, May 24, 2021 @ 08:36:29
  Author: foutrelis
Revision: 944039

archrelease: copy trunk to community-staging-any

Added:
  perl-version-compare/repos/community-staging-any/
  perl-version-compare/repos/community-staging-any/PKGBUILD
    (from rev 944037, perl-version-compare/trunk/PKGBUILD)

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

Copied: perl-version-compare/repos/community-staging-any/PKGBUILD (from rev 944037, perl-version-compare/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-05-24 08:36:29 UTC (rev 944039)
@@ -0,0 +1,45 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+
+pkgname=perl-version-compare
+pkgver=0.14
+pkgrel=5
+pkgdesc='Compare version strings'
+arch=(any)
+license=(PerlArtistic GPL)
+options=(!emptydirs)
+depends=(perl)
+url=https://metacpan.org/release/Version-Compare
+source=("https://search.cpan.org/CPAN/authors/id/T/TE/TEX/Version-Compare-$pkgver.tar.gz")
+md5sums=(a8caccfb723d76de3ac9a80d27a45511)
+sha512sums=(53ec2f04fe847818a84d9f6465bae04aeb93e7d4e4cf58fa62bc893e0f482f637aeb2b0df8e1798c2b00749c569421a8cb6c02fe7a770333a8a927e7d90a7302)
+_ddir="Version-Compare-$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