blob: 979b884ff3aa7bb21d4d2ec13b0c9989d43a4543 (
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
33
34
35
36
37
38
39
40
41
|
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman@gmail.com>
pkgname=perl-data-ical
_pkgreal=Data-ICal
pkgver=0.23
pkgrel=0
pkgdesc="Generates iCalendar (RFC 2445) calendar files"
url="https://metacpan.org/release/Data-ICal"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
cpandepends="perl-test-nowarnings perl-test-warn perl-text-vfile-asdata
perl-class-returnvalue perl-test-longstring perl-class-accessor perl-file-slurp"
depends="$cpandepends"
makedepends="perl-dev perl-module-install"
checkdepends="perl-pod-coverage"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/B/BP/BPS/Data-ICal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make
}
check() {
make test
}
package() {
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="dc99cacc7fcd9fab9ae8365ab141d381678ff07feb5e0ce3f2baa924040aa0dd9f9f493692e5709493398eeb9755a06567e0eb1c1ac621e22bfad824b10c67b3 Data-ICal-0.23.tar.gz"
|