[arch-commits] Commit in perl-date-simple/repos (2 files)

Florian Pritz bluewind at archlinux.org
Wed Aug 1 11:58:42 UTC 2018


    Date: Wednesday, August 1, 2018 @ 11:58:42
  Author: bluewind
Revision: 330203

archrelease: copy trunk to staging-x86_64

Added:
  perl-date-simple/repos/staging-x86_64/
  perl-date-simple/repos/staging-x86_64/PKGBUILD
    (from rev 330202, perl-date-simple/trunk/PKGBUILD)

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

Copied: perl-date-simple/repos/staging-x86_64/PKGBUILD (from rev 330202, perl-date-simple/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2018-08-01 11:58:42 UTC (rev 330203)
@@ -0,0 +1,37 @@
+# $ID$
+# Maintainer: Rémy Oudompheng <remy at archlinux.org>
+
+pkgname=perl-date-simple
+_dist=Date-Simple
+pkgver=3.03
+pkgrel=5
+pkgdesc="Perl module for simple Date objects"
+arch=('x86_64')
+url='https://metacpan.org/release/${_dist}'
+license=('PerlArtistic' 'GPL')
+depends=('perl')
+options=('!emptydirs')
+source=(http://search.cpan.org/CPAN/authors/id/I/IZ/IZUT/${_dist}-${pkgver}.tar.gz)
+md5sums=('436049dc2c7dfd8423d8bcc807248b31')
+sha512sums=('3e64a0ba224427e688a45945860fd5e876e6ca5b01298e744e257981ed84d933ab14c9ab8d5b74316c031ffa9821afd9563270109cba20a5939f14af2dde8668')
+
+build() {
+    cd "${srcdir}/${_dist}-${pkgver}"
+    unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+    export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+    perl Makefile.PL
+    make
+}
+
+check() {
+    cd "${srcdir}/${_dist}-${pkgver}"
+    unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+    export PERL_MM_USE_DEFAULT=1
+    make test
+}
+
+package() {
+    cd "${srcdir}/${_dist}-${pkgver}"
+    unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+    make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
+}



More information about the arch-commits mailing list