diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/perl-capture-tiny/APKBUILD | 41 | ||||
-rw-r--r-- | main/perl-email-address/APKBUILD | 10 |
2 files changed, 46 insertions, 5 deletions
diff --git a/main/perl-capture-tiny/APKBUILD b/main/perl-capture-tiny/APKBUILD new file mode 100644 index 000000000..215768c1a --- /dev/null +++ b/main/perl-capture-tiny/APKBUILD @@ -0,0 +1,41 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Francesco Colista <francesco.colista@gmail.com> +# Maintainer: Francesco Colista <francesco.colista@gmail.com> +pkgname=perl-capture-tiny +_pkgreal=Capture-Tiny +pkgver=0.22 +pkgrel=0 +pkgdesc="Capture STDOUT and STDERR from Perl, XS or external programs" +url="http://search.cpan.org/dist/Capture-Tiny/" +arch="noarch" +license="apache_2_0" +cpandepends="" +cpanmakedepends=" " +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/$_pkgreal-$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 && make test +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +md5sums="f270ee3682aabf10747592f6c05ef7ba Capture-Tiny-0.22.tar.gz" +sha256sums="219f4778640241cbea4ae7096c55cf55353de932a9c27bec23c059ee18169985 Capture-Tiny-0.22.tar.gz" +sha512sums="8fa752d2421abd2f3ae7b4e906dd0ce5e0a88193a08fdf1d53f3ed3457bf769ace69cd0493fdf8c4622f6454071f92a27e9bfa30aa3aade0cd9404af750ea9f9 Capture-Tiny-0.22.tar.gz" diff --git a/main/perl-email-address/APKBUILD b/main/perl-email-address/APKBUILD index 0c5cc93f5..c6c2d5416 100644 --- a/main/perl-email-address/APKBUILD +++ b/main/perl-email-address/APKBUILD @@ -1,13 +1,13 @@ # Contributor: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=perl-email-address -pkgver=1.898 +pkgver=1.899 pkgrel=0 pkgdesc="RFC 2822 Address Parsing and Creation" url="http://search.cpan.org/dist/Email-Address/" arch="noarch" license="GPL+ or Artistic" -depends="perl" +depends="perl perl-capture-tiny" makedepends="perl-dev" install="" subpackages="$pkgname-doc" @@ -36,6 +36,6 @@ package() { find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } -md5sums="0ea27eae4888ec25733af68b51f20245 Email-Address-1.898.tar.gz" -sha256sums="7747c74f006cb1ad568ab38a5fe8f24184e633c64e74b12e41b0e60630d3ce0a Email-Address-1.898.tar.gz" -sha512sums="3d851ca500f448dfc0d36759fb43bc2c6413e668c9110ddad26273d02e6761800dc4ec90b0127504a96eaaf5c66a24cd090363b26d9a7cd81bf12a7cfe630232 Email-Address-1.898.tar.gz" +md5sums="a38066c1492013abe3a4f6738901dc0d Email-Address-1.899.tar.gz" +sha256sums="1ef80407afdd5a576787dca483e7757301b59ffbd79d960cdf46ed2e39ca0400 Email-Address-1.899.tar.gz" +sha512sums="f516af75e1017aed7f168a5b0fd68114eada3eb2a07a027cf00ac53e1d31722a8ac99c50460ca147c69eff058bfeb879e10cfaf2a4a2663986f93f8d911ce01e Email-Address-1.899.tar.gz" |