From 75e3da45a212faf6387424af298d6217d3ad0bd5 Mon Sep 17 00:00:00 2001 From: Valery Kartel Date: Mon, 23 Jan 2017 15:03:01 +0200 Subject: main/perl-*: fix -doc, apkbuild cleanups perl-carp perl-digest-md5 perl-exporter perl-getopt-long perl-io perl-mime-base64 perl-pathtools (+ add description) perl-scalar-list-utils perl-socket perl-test-harness (+ move script to -utils subpackage) perl-test-simple --- main/perl-digest-md5/APKBUILD | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'main/perl-digest-md5/APKBUILD') diff --git a/main/perl-digest-md5/APKBUILD b/main/perl-digest-md5/APKBUILD index 38292075e7..3f599319fa 100644 --- a/main/perl-digest-md5/APKBUILD +++ b/main/perl-digest-md5/APKBUILD @@ -1,10 +1,10 @@ # Automatically generated by apkbuild-cpan, template 1 -# Contributor: +# Contributor: Valery Kartel # Maintainer: Leonardo Arena pkgname=perl-digest-md5 _pkgreal=Digest-MD5 pkgver=2.55 -pkgrel=0 +pkgrel=1 pkgdesc="Perl interface to the MD-5 algorithm" url="http://search.cpan.org/dist/Digest-MD5/" arch="all" @@ -15,27 +15,31 @@ depends="$cpandepends" makedepends="perl-dev $cpanmakedepends" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" +builddir="$srcdir/$_pkgreal-$pkgver" prepare() { - cd "$_builddir" + cd "$builddir" export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor } build() { - cd "$_builddir" + cd "$builddir" export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` make && make test } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install || return 1 find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } +doc() { + default_doc + replaces="perl-doc" +} + md5sums="601519b826ca14c233f13a4578b967ef Digest-MD5-2.55.tar.gz" sha256sums="03b198a2d14425d951e5e50a885d3818c3162c8fe4c21e18d7798a9a179d0e3c Digest-MD5-2.55.tar.gz" sha512sums="e921fe802566047479d4f33e65cdda0c316e0de06b316845bb48feaefdf5d0c602e330d42335f2cbe34d5b076aa0da2ed6daa7f998e9fda09cf9d66fb3c66811 Digest-MD5-2.55.tar.gz" -- cgit v1.2.3