mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-27 00:10:29 +00:00
28 lines
898 B
Bash
28 lines
898 B
Bash
# $Id: PKGBUILD 51922 2009-09-13 21:05:06Z kevin $
|
|
# Maintainer: Kevin Piche <kevin@archlinux.org>
|
|
# Contributor: K. Piche <kpiche@rogers.com>
|
|
|
|
pkgname=perl-date-calc
|
|
_realname=Date-Calc
|
|
pkgver=5.8
|
|
pkgrel=1
|
|
pkgdesc="Perl module for Gregorian calendar date calculations"
|
|
arch=('i686' 'x86_64')
|
|
license=('PerlArtistic')
|
|
url="http://search.cpan.org/dist/${_realname}/"
|
|
depends=('perl-bit-vector' 'perl>=5.10.0')
|
|
options=(!emptydirs)
|
|
source=(http://search.cpan.org/CPAN/authors/id/S/ST/STBEY/${_realname}-${pkgver}.tar.gz)
|
|
md5sums=('ea4d8cbe74aabe8c8f04434847ec2e23')
|
|
|
|
build() {
|
|
cd ${srcdir}/${_realname}-${pkgver}
|
|
# install module in vendor directories.
|
|
perl Makefile.PL INSTALLDIRS=vendor || return 1
|
|
make || return 1
|
|
make install DESTDIR=${pkgdir} || return 1
|
|
|
|
# remove perllocal.pod and .packlist
|
|
find ${pkgdir} -name perllocal.pod -delete
|
|
find ${pkgdir} -name .packlist -delete
|
|
}
|