[arch-commits] Commit in perl-sort-naturally/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Sat May 25 11:43:44 UTC 2019
Date: Saturday, May 25, 2019 @ 11:43:44
Author: foutrelis
Revision: 470450
archrelease: copy trunk to community-staging-any
Added:
perl-sort-naturally/repos/community-staging-any/
perl-sort-naturally/repos/community-staging-any/PKGBUILD
(from rev 470449, perl-sort-naturally/trunk/PKGBUILD)
----------+
PKGBUILD | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
Copied: perl-sort-naturally/repos/community-staging-any/PKGBUILD (from rev 470449, perl-sort-naturally/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-05-25 11:43:44 UTC (rev 470450)
@@ -0,0 +1,26 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname='perl-sort-naturally'
+pkgver=1.03
+pkgrel=5
+pkgdesc="sort lexically, but sort numeral parts numerically"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl')
+url='https://search.cpan.org/dist/Sort-Naturally'
+source=("https://search.cpan.org/CPAN/authors/id/B/BI/BINGOS/Sort-Naturally-$pkgver.tar.gz")
+md5sums=('fef2e36d1b1ea23ee79ec68b5872453f')
+
+build() {
+ cd "$srcdir"/Sort-Naturally-$pkgver
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+ make test
+}
+
+package() {
+ cd "$srcdir"/Sort-Naturally-$pkgver
+ make install DESTDIR="$pkgdir"
+ find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+}
More information about the arch-commits
mailing list