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

Felix Yan felixonmars at archlinux.org
Fri Nov 9 22:07:30 UTC 2018


    Date: Friday, November 9, 2018 @ 22:07:30
  Author: felixonmars
Revision: 404850

archrelease: copy trunk to community-staging-any

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

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

Copied: perl-time-duration/repos/community-staging-any/PKGBUILD (from rev 404849, perl-time-duration/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-11-09 22:07:30 UTC (rev 404850)
@@ -0,0 +1,29 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Francois Charette <firmicus at gmx.net>
+
+pkgname=perl-time-duration
+epoch=1
+pkgver=1.20
+pkgrel=3
+pkgdesc="rounded or exact English expression of durations"
+arch=('any')
+url="http://search.cpan.org/dist/Time-Duration"
+license=('GPL' 'PerlArtistic')
+depends=('perl')
+makedepends=('perl-test-pod-coverage' 'perl-test-pod')
+options=('!emptydirs')
+source=(http://search.cpan.org/CPAN/authors/id/N/NE/NEILB/Time-Duration-$pkgver.tar.gz)
+md5sums=('7fefa5857daaab09edbdb5ece83ebfa6')
+
+build() {
+  cd  "$srcdir"/Time-Duration-${pkgver}
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+package() {
+  cd  "$srcdir"/Time-Duration-${pkgver}
+  make install DESTDIR="$pkgdir"
+  find "$pkgdir" -name '.packlist' -delete
+  find "$pkgdir" -name '*.pod' -delete
+}


More information about the arch-commits mailing list