[arch-commits] Commit in perl-sort-versions/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Wed Aug 1 12:02:03 UTC 2018


    Date: Wednesday, August 1, 2018 @ 12:02:03
  Author: foutrelis
Revision: 366635

archrelease: copy trunk to community-staging-any

Added:
  perl-sort-versions/repos/community-staging-any/
  perl-sort-versions/repos/community-staging-any/PKGBUILD
    (from rev 366634, perl-sort-versions/trunk/PKGBUILD)

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

Copied: perl-sort-versions/repos/community-staging-any/PKGBUILD (from rev 366634, perl-sort-versions/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-08-01 12:02:03 UTC (rev 366635)
@@ -0,0 +1,35 @@
+# Maintainer:
+# Contributor: dracorp aka Piotr Rogoza <piotr dot r dot public at gmail.com>
+
+_author=N/NE/NEILB
+_perlmod=Sort-Versions
+pkgname=perl-sort-versions
+pkgver=1.62
+pkgrel=4
+pkgdesc='Sort::Versions - a perl 5 module for sorting of revision-like numbers'
+arch=('any')
+url="http://search.cpan.org/dist/Sort-Versions/"
+license=('GPL' 'PerlArtistic')
+depends=('perl')
+options=(!emptydirs)
+source=("http://search.cpan.org/CPAN/authors/id/$_author/$_perlmod-$pkgver.tar.gz")
+sha512sums=('b30dab96a5a31023af3ecee1857ae7bf5abc45b266294b47abb4f03c332b27825c1139d1a56bf0cfbd538487d28b3be167d83f9f5a93f079717b40157abe4d96')
+unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+export PERL_MM_USE_DEFAULT=1
+build(){
+  cd "$srcdir/$_perlmod-$pkgver"
+  /usr/bin/perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd $_perlmod-$pkgver
+  make test
+}
+
+package() {
+  cd $_perlmod-$pkgver
+  make install DESTDIR="$pkgdir/"
+  # remove perllocal.pod and .packlist
+  find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+}



More information about the arch-commits mailing list