[arch-commits] Commit in perl-time-human/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Wed Aug 1 11:55:37 UTC 2018


    Date: Wednesday, August 1, 2018 @ 11:55:35
  Author: foutrelis
Revision: 366577

archrelease: copy trunk to community-staging-any

Added:
  perl-time-human/repos/community-staging-any/
  perl-time-human/repos/community-staging-any/PKGBUILD
    (from rev 366576, perl-time-human/trunk/PKGBUILD)

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

Copied: perl-time-human/repos/community-staging-any/PKGBUILD (from rev 366576, perl-time-human/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-08-01 11:55:35 UTC (rev 366577)
@@ -0,0 +1,26 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Charles Mauch <cmauch at gmail.com>
+
+pkgname=perl-time-human
+pkgver=1.03
+pkgrel=9
+pkgdesc="Perl/CPAN Module Time::Human"
+arch=("any")
+url="http://search.cpan.org/dist/Time-Human"
+license=("GPL" "PerlArtistic")
+source=("https://www.cpan.org/authors/id/J/JH/JHOBLITT/Time-Human-$pkgver.tar.gz")
+sha256sums=('90e9812b89eb2f5773b3c0872a9b8bfb61fda3c6a4570d1a6610771926d7f976')
+
+build() {
+  cd "$srcdir"/Time-Human-$pkgver
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+package() {
+  cd "$srcdir"/Time-Human-$pkgver
+  make install DESTDIR="$pkgdir"
+  find "$pkgdir" -name '.packlist' -delete
+  find "$pkgdir" -name '*.pod' -delete
+}



More information about the arch-commits mailing list