[arch-commits] Commit in perl-datetime-cron-simple/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Mon May 24 11:27:59 UTC 2021
Date: Monday, May 24, 2021 @ 11:27:58
Author: felixonmars
Revision: 944490
archrelease: copy trunk to community-staging-any
Added:
perl-datetime-cron-simple/repos/community-staging-any/
perl-datetime-cron-simple/repos/community-staging-any/PKGBUILD
(from rev 944485, perl-datetime-cron-simple/trunk/PKGBUILD)
----------+
PKGBUILD | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
Copied: perl-datetime-cron-simple/repos/community-staging-any/PKGBUILD (from rev 944485, perl-datetime-cron-simple/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-05-24 11:27:58 UTC (rev 944490)
@@ -0,0 +1,25 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Charles Mauch <cmauch at gmail.com>
+
+pkgname=perl-datetime-cron-simple
+pkgver=0.2
+pkgrel=12
+pkgdesc="Perl/CPAN Module DateTime::Cron::Simple"
+arch=("any")
+url="https://search.cpan.org/~bits/DateTime-Cron-Simple/"
+license=("GPL" "PerlArtistic")
+source=("https://www.cpan.org/authors/id/B/BI/BITS/DateTime-Cron-Simple-$pkgver.tar.gz")
+sha256sums=('d9a6b9450550d657714b105c151d7b949da3f81fc38ac9da19cbac04e0130012')
+
+build() {
+ cd "$srcdir"/DateTime-Cron-Simple-$pkgver
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+package() {
+ cd "$srcdir"/DateTime-Cron-Simple-$pkgver
+ make install DESTDIR="$pkgdir"
+ find "$pkgdir" -name '.packlist' -delete
+ find "$pkgdir" -name '*.pod' -delete
+}
More information about the arch-commits
mailing list