summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-date-manip/PKGBUILD
blob: 0ef2f9c86cb82957995f1f8e7df88fb8faf8ce0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# $Id: PKGBUILD 161416 2012-06-11 02:54:05Z eric $
# Maintainer: Kevin Piche <kevin@archlinux.org>
# Contributor: Andrew Simmons <andrew.simmons@gmail.com>

pkgname=perl-date-manip
_realname=Date-Manip
pkgver=6.32
pkgrel=1
pkgdesc="Date::Manip - date manipulation routines"
arch=('any')
license=('PerlArtistic')
url="http://search.cpan.org/dist/${_realname}/"
depends=('perl-yaml-syck')
options=('!emptydirs')
source=(http://search.cpan.org/CPAN/authors/id/S/SB/SBECK/${_realname}-${pkgver}.tar.gz)
md5sums=('0d5c1ee2f75f6407fb1035e3535f650b')

build() {
  cd "${srcdir}/${_realname}-${pkgver}"

  # install module in vendor directories.
  perl Build.PL installdirs=vendor destdir="${pkgdir}"
  perl Build
}

package() {
  cd "${srcdir}/${_realname}-${pkgver}"
  perl Build install
}