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-mime-base64/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-mime-base64/APKBUILD')
-rw-r--r-- | main/perl-mime-base64/APKBUILD | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/main/perl-mime-base64/APKBUILD b/main/perl-mime-base64/APKBUILD index 927459c6c6..226d4e3882 100644 --- a/main/perl-mime-base64/APKBUILD +++ b/main/perl-mime-base64/APKBUILD @@ -4,7 +4,7 @@ pkgname=perl-mime-base64 _pkgreal=MIME-Base64 pkgver=3.15 -pkgrel=2 +pkgrel=3 pkgdesc="The RFC 2045 encodings; base64 and quoted-printable" url="http://search.cpan.org/dist/MIME-Base64/" 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" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + 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}'` + 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="ef958dc2bf96be5f759391c6ac1debd4 MIME-Base64-3.15.tar.gz" sha256sums="7f863566a6a9cb93eda93beadb77d9aa04b9304d769cea3bb921b9a91b3a1eb9 MIME-Base64-3.15.tar.gz" sha512sums="2f1ce99f755d7ae25f6b1907e043c16f72799e0cc9aa8b5efe8bb1f0542fc6f39bff691b2477e18136d06dfb38f6a844c76018a7fa4e60591ebf0e60cfea55d4 MIME-Base64-3.15.tar.gz" |