diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-01-19 08:00:36 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-01-19 08:00:36 (GMT) |
commit | 6f90626a0bf289be8f0497fd6b135c7ef831e0fd (patch) | |
tree | a6bb8ed23d252765f1a7888ed079ec156cd68e81 /abs/core-testing/perl_modules/perl-astro-suntime | |
parent | 100915fd681da7bd7d56311c6f866003d88e6141 (diff) | |
download | linhes_pkgbuild-6f90626a0bf289be8f0497fd6b135c7ef831e0fd.zip linhes_pkgbuild-6f90626a0bf289be8f0497fd6b135c7ef831e0fd.tar.gz linhes_pkgbuild-6f90626a0bf289be8f0497fd6b135c7ef831e0fd.tar.bz2 |
MythZoneMinder, ZoneMinder and deps.
Diffstat (limited to 'abs/core-testing/perl_modules/perl-astro-suntime')
-rw-r--r-- | abs/core-testing/perl_modules/perl-astro-suntime/PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/abs/core-testing/perl_modules/perl-astro-suntime/PKGBUILD b/abs/core-testing/perl_modules/perl-astro-suntime/PKGBUILD new file mode 100644 index 0000000..d615aa3 --- /dev/null +++ b/abs/core-testing/perl_modules/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: |