mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
28 lines
902 B
Bash
28 lines
902 B
Bash
# $Id: PKGBUILD 28340 2009-02-28 19:18:23Z kevin $
|
|
# Maintainer: Kevin Piche <kevin@archlinux.org>
|
|
# Contributor: Andrew Simmons <andrew.simmons@gmail.com>
|
|
|
|
pkgname=perl-date-manip
|
|
_realname=Date-Manip
|
|
pkgver=5.54
|
|
pkgrel=1
|
|
pkgdesc="Date::Manip - date manipulation routines"
|
|
arch=(i686 x86_64)
|
|
license=('PerlArtistic')
|
|
url="http://search.cpan.org/dist/${_realname}/"
|
|
depends=('perl>=5.10.0')
|
|
options=(!emptydirs)
|
|
source=(http://search.cpan.org/CPAN/authors/id/S/SB/SBECK/${_realname}-${pkgver}.tar.gz)
|
|
md5sums=('16c343329bad644b17f4f8ec5fb243cf')
|
|
|
|
build() {
|
|
cd ${srcdir}/${_realname}-${pkgver}
|
|
# install module in vendor directories.
|
|
PERL_MM_USE_DEFAULT=1 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
|
|
}
|