diff options
author | Valery Kartel <valery.kartel@gmail.com> | 2017-01-23 15:03:01 +0200 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-01-24 08:48:17 +0000 |
commit | 75e3da45a212faf6387424af298d6217d3ad0bd5 (patch) | |
tree | 66b4b64bff56c9fc85124378c7965ddac1725b64 /main/perl-digest-md5/APKBUILD | |
parent | fe6b86af3763d58fbc06fa009626c5dd8cf4c3c9 (diff) | |
download | aports-75e3da45a212faf6387424af298d6217d3ad0bd5.tar.bz2 aports-75e3da45a212faf6387424af298d6217d3ad0bd5.tar.xz |
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
Diffstat (limited to 'main/perl-digest-md5/APKBUILD')
-rw-r--r-- | main/perl-digest-md5/APKBUILD | 18 |
1 files changed, 11 insertions, 7 deletions
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 <valery.kartel@gmail.com> # Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> 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" |