[arch-commits] Commit in perl-datetime-set/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Jul 7 16:34:04 UTC 2020
Date: Tuesday, July 7, 2020 @ 16:34:04
Author: felixonmars
Revision: 659299
archrelease: copy trunk to community-staging-any
Added:
perl-datetime-set/repos/community-staging-any/
perl-datetime-set/repos/community-staging-any/PKGBUILD
(from rev 659298, perl-datetime-set/trunk/PKGBUILD)
----------+
PKGBUILD | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
Copied: perl-datetime-set/repos/community-staging-any/PKGBUILD (from rev 659298, perl-datetime-set/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-07-07 16:34:04 UTC (rev 659299)
@@ -0,0 +1,27 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: François Charette <firmicus ατ gmx δοτ net>
+
+pkgname=perl-datetime-set
+pkgver=0.3900
+pkgrel=4
+pkgdesc="Datetime sets and set math"
+arch=(any)
+url="https://search.cpan.org/dist/DateTime-Set"
+license=('GPL' 'PerlArtistic')
+depends=('perl>=5.10.0' 'perl-set-infinite>=0.59' 'perl-datetime>=0.12')
+options=('!emptydirs')
+source=(https://www.cpan.org/authors/id/F/FG/FGLOCK/DateTime-Set-$pkgver.tar.gz)
+sha256sums=('94f41c3924aafde4ef7fa6b58e0595d4038d8ac5ffd62ba111b13c5f4dbc0946')
+
+build() {
+ cd "$srcdir"/DateTime-Set-$pkgver
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+package() {
+ cd "$srcdir"/DateTime-Set-$pkgver
+ make install DESTDIR="$pkgdir"
+ find "$pkgdir" -name '.packlist' -delete
+ find "$pkgdir" -name '*.pod' -delete
+}
More information about the arch-commits
mailing list