aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-date-calc/APKBUILD
blob: 2b6d51d8ef5d8d01824577c82475ee49d85399aa (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
30
31
32
# Maintainer:  Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=perl-date-calc
_realname=Date-Calc
pkgver=6.4
pkgrel=0
pkgdesc="Perl module for Gregorian calendar date calculations"
url="http://search.cpan.org/~jaslong/Mail-DKIM-0.36/"
arch="noarch"
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
}

package() {
	cd "$srcdir/$_realname-$pkgver"
	make DESTDIR="$pkgdir" install UNINST=1
	# creates file collision among perl modules
	find "$pkgdir" -name perllocal.pod -delete
}

md5sums="69c635070d38c884682bfd4657031a8d  Date-Calc-6.4.tar.gz"
sha256sums="7ce137b2e797b7c0901f3adf1a05a19343356cd1f04676aa1c56a9f624f859ad  Date-Calc-6.4.tar.gz"
sha512sums="e2d0cb2b041afedb10033700e27075f01987abc763a59034a10a9fc0bb059706cc959f6d76fe1fc21ced4b547475f62a8c37ad38e8e49f7453d78b17082c0671  Date-Calc-6.4.tar.gz"