diff options
author | John D Jones III | 2015-06-16 14:39:27 -0600 |
---|---|---|
committer | John D Jones III | 2015-06-16 14:39:27 -0600 |
commit | 7337f112be92a189f7fc5f0c4bbbdbd4cea19988 (patch) | |
tree | ae0e74af74744253c1bdc638316baecd402cd3cf | |
download | aur-7337f112be92a189f7fc5f0c4bbbdbd4cea19988.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | PKGBUILD | 50 |
2 files changed, 71 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..d99c5d93026d --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +pkgbase = perl-datetime-event-holiday-us + pkgdesc = US Holiday's as DateTime::Set objects + pkgver = 0.02 + pkgrel = 1 + url = http://search.cpan.org/dist/DateTime-Event-Holiday-US + arch = any + license = PerlArtistic + license = GPL + makedepends = perl-test-perl-critic-progressive + depends = perl>=5.004 + depends = perl-datetime-format-ical + depends = perl-datetime-set + depends = perl-path-class + depends = perl-try-tiny + options = !emptydirs + source = http://search.cpan.org/CPAN/authors/id/A/AY/AYOUNG/DateTime-Event-Holiday-US-0.02.tar.gz + md5sums = 775da534b5fba049b209b2e44a29235f + sha512sums = 8f0a6af3dc58afd2215d17dfa814614369c9f1acef1432c4b2ea6e1250c13c961948722bdaeb59b35508b7d2c926d358199b2907c60aa00926c3d7f9cee97ec1 + +pkgname = perl-datetime-event-holiday-us + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..5bfb87f3beaa --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,50 @@ +# Contributor: John D Jones III <j[nospace]n[nospace]b[nospace]e[nospace]k[nospace]1972 -_AT_- the domain name google offers a mail service at ending in dot com> +# Generator : CPANPLUS::Dist::Arch 1.25 + +pkgname='perl-datetime-event-holiday-us' +pkgver='0.02' +pkgrel='1' +pkgdesc="US Holiday's as DateTime::Set objects" +arch=('any') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl>=5.004' 'perl-datetime-format-ical' 'perl-datetime-set' 'perl-path-class' 'perl-try-tiny') +makedepends=('perl-test-perl-critic-progressive') +url='http://search.cpan.org/dist/DateTime-Event-Holiday-US' +source=('http://search.cpan.org/CPAN/authors/id/A/AY/AYOUNG/DateTime-Event-Holiday-US-0.02.tar.gz') +md5sums=('775da534b5fba049b209b2e44a29235f') +sha512sums=('8f0a6af3dc58afd2215d17dfa814614369c9f1acef1432c4b2ea6e1250c13c961948722bdaeb59b35508b7d2c926d358199b2907c60aa00926c3d7f9cee97ec1') +_distdir="DateTime-Event-Holiday-US-0.02" + +build() { + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ + PERL_AUTOINSTALL=--skipdeps \ + PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \ + PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \ + MODULEBUILDRC=/dev/null + + cd "$srcdir/$_distdir" + /usr/bin/perl Build.PL + /usr/bin/perl Build + ) +} + +check() { + cd "$srcdir/$_distdir" + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" + /usr/bin/perl Build test + ) +} + +package() { + cd "$srcdir/$_distdir" + /usr/bin/perl Build install + + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete +} + +# Local Variables: +# mode: shell-script +# sh-basic-offset: 2 +# End: +# vim:set ts=2 sw=2 et: |