aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-date-calc/APKBUILD
blob: 09e16f675eeb62d13382283ab0ba46383f72848c (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
# Maintainer:  Leonardo Arena <rnalrd@gmail.com>
pkgname=perl-date-calc
_realname=Date-Calc
pkgver=6.3
pkgrel=0
pkgdesc="Perl module for Gregorian calendar date calculations"
url="http://search.cpan.org/~jaslong/Mail-DKIM-0.36/"
arch="x86 x86_64"
license="Perl Artistic GPL"
depends="perl"
makedepends="perl-dev"
install=
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/S/ST/STBEY/$_realname-$pkgver.tar.gz"

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

	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
	make || return 1
	make DESTDIR="$pkgdir" install UNINST=1
	# creates file collision among perl modules
	find "$pkgdir" -name perllocal.pod -delete
}

md5sums="9b64555b7051c1beb6b61daead2d01b3  Date-Calc-6.3.tar.gz"