diff options
author | Roberto Oliveira <robertoguimaraes8@gmail.com> | 2018-07-19 13:59:06 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-07-25 12:33:14 +0000 |
commit | 50a37121f6dc87a5516b96aa87153fd39799812b (patch) | |
tree | 7b7d85f8551292574920e519f284387d80d7fd2d /community/perl-data-ical | |
parent | daa3d4253bd6f136c9b4883c835d2d57ecff6170 (diff) | |
download | aports-50a37121f6dc87a5516b96aa87153fd39799812b.tar.bz2 aports-50a37121f6dc87a5516b96aa87153fd39799812b.tar.xz |
community/perl-data-ical: move from main
perl-data-ical is required only by rt4 package and it is
part of community.
Diffstat (limited to 'community/perl-data-ical')
-rw-r--r-- | community/perl-data-ical/APKBUILD | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/community/perl-data-ical/APKBUILD b/community/perl-data-ical/APKBUILD new file mode 100644 index 0000000000..9d616036a4 --- /dev/null +++ b/community/perl-data-ical/APKBUILD @@ -0,0 +1,45 @@ +# 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.22 +pkgrel=1 +pkgdesc="Generates iCalendar (RFC 2445) calendar files" +url="http://search.cpan.org/dist/Data-ICal/" +arch="noarch" +license="GPL PerlArtistic" +cpandepends="perl-test-nowarnings perl-test-warn perl-text-vfile-asdata perl-class-returnvalue perl-test-longstring perl-class-accessor perl-file-slurp" +cpanmakedepends="" +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends perl-module-install" +checkdepends="perl-pod-coverage" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/A/AL/ALEXMV/Data-ICal-$pkgver.tar.gz" + +builddir="$srcdir/$_pkgreal-$pkgver" + +prepare() { + cd "$builddir" + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor +} + +build() { + cd "$builddir" + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + make +} + +check() { + cd "$builddir" + make test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="a02364dfb0a1e24efcf2efdb7240bb6c47ad5ed3a99ada51ddb9817b4e433038d57113699c6875f7d592cd3af46f5b074a1ac50cf951b7af449bde1765ed5d55 Data-ICal-0.22.tar.gz" |