[arch-commits] Commit in perl-timedate/repos (staging-any staging-any/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Wed Aug 1 09:08:22 UTC 2018


    Date: Wednesday, August 1, 2018 @ 09:08:22
  Author: felixonmars
Revision: 329978

archrelease: copy trunk to staging-any

Added:
  perl-timedate/repos/staging-any/
  perl-timedate/repos/staging-any/PKGBUILD
    (from rev 329977, perl-timedate/trunk/PKGBUILD)

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

Copied: perl-timedate/repos/staging-any/PKGBUILD (from rev 329977, perl-timedate/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2018-08-01 09:08:22 UTC (rev 329978)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Contributor: Kevin Piche <kevin at archlinux.org>
+# Contributor: Manolis Tzanidakis
+
+pkgname=perl-timedate
+_realname=TimeDate
+pkgver=2.30
+pkgrel=5
+pkgdesc="Date formating subroutines"
+arch=('any')
+license=('PerlArtistic')
+url="http://search.cpan.org/dist/${_realname}/"
+depends=('perl')
+replaces=('timedate')
+provides=('timedate')
+options=('!emptydirs')
+source=("http://www.cpan.org/authors/id/G/GB/GBARR/${_realname}-${pkgver}.tar.gz")
+md5sums=('b1d91153ac971347aee84292ed886c1c')
+
+build() {
+  cd ${_realname}-${pkgver}
+
+  # install module in vendor directories.
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd ${_realname}-${pkgver}
+  make test
+}
+
+package() {
+  cd ${_realname}-${pkgver}
+  make install DESTDIR="${pkgdir}"
+}



More information about the arch-commits mailing list