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

Evangelos Foutras foutrelis at archlinux.org
Sat May 25 11:57:28 UTC 2019


    Date: Saturday, May 25, 2019 @ 11:57:28
  Author: foutrelis
Revision: 470564

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 470563, perl-time-human/trunk/PKGBUILD)

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

Copied: perl-time-human/repos/community-staging-any/PKGBUILD (from rev 470563, perl-time-human/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-05-25 11:57:28 UTC (rev 470564)
@@ -0,0 +1,25 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Charles Mauch <cmauch at gmail.com>
+
+pkgname=perl-time-human
+pkgver=1.03
+pkgrel=10
+pkgdesc="Perl/CPAN Module Time::Human"
+arch=("any")
+url="https://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