[arch-commits] Commit in perl-date-simple/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon May 24 11:36:18 UTC 2021
Date: Monday, May 24, 2021 @ 11:36:18
Author: foutrelis
Revision: 416235
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 416234, perl-date-simple/trunk/PKGBUILD)
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Copied: perl-date-simple/repos/staging-x86_64/PKGBUILD (from rev 416234, perl-date-simple/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2021-05-24 11:36:18 UTC (rev 416235)
@@ -0,0 +1,37 @@
+# $ID$
+# Maintainer: Rémy Oudompheng <remy at archlinux.org>
+
+pkgname=perl-date-simple
+_dist=Date-Simple
+pkgver=3.03
+pkgrel=10
+pkgdesc="Perl module for simple Date objects"
+arch=('x86_64')
+url="https://metacpan.org/release/${_dist}"
+license=('PerlArtistic' 'GPL')
+depends=('perl')
+options=('!emptydirs')
+source=(https://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