diff options
author | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2012-09-11 04:56:34 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2012-09-11 04:56:34 -0300 |
commit | dce7f494a1b21bd810336f773b602d2a75287559 (patch) | |
tree | b412423c92f292a6454d76afe68b18a20a2bf2ca /pcr/perl-astro-suntime | |
parent | df9c329131a3e5b77d1e1bdcc71b04caa384bb6f (diff) |
perl-astro-suntime: adding new package to [pcr] repo
Diffstat (limited to 'pcr/perl-astro-suntime')
-rw-r--r-- | pcr/perl-astro-suntime/PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pcr/perl-astro-suntime/PKGBUILD b/pcr/perl-astro-suntime/PKGBUILD new file mode 100644 index 000000000..d615aa3af --- /dev/null +++ b/pcr/perl-astro-suntime/PKGBUILD @@ -0,0 +1,29 @@ +# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman +# Contributor: Ross melin <rdmelin@gmail.com> + +# Required by zoneminder + +pkgname=perl-astro-suntime +pkgver=0.01 +pkgrel=2 +pkgdesc="Calculate sun rise/set times" +arch=('i686' 'x86_64') +url="http://search.cpan.org/~ROBF/Astro-SunTime" +license=('GPL' 'PerlArtistic') +depends=('perl-time-modules') +options=('!emptydirs') +source=(http://www.cpan.org/authors/id/R/RO/ROBF/Astro-SunTime-$pkgver.tar.gz) +md5sums=('4657927a49604494bfaaa153663b90b9') + +build() { + cd $startdir/src/Astro-SunTime-$pkgver + eval `perl -V:archname` + PERL_MM_USE_DEFAULT=1 /usr/bin/perl Makefile.PL \ + INSTALLDIRS=vendor || return 1 + /usr/bin/make || return 1 + /usr/bin/make DESTDIR=$startdir/pkg install || return 1 + /usr/bin/find $startdir/pkg -name '.packlist' -delete + /usr/bin/find $startdir/pkg -name '*.pod' -delete +} + +# vim:set ts=2 sw=2 et: |