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-pathtools/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-pathtools/APKBUILD')
-rw-r--r-- | main/perl-pathtools/APKBUILD | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/main/perl-pathtools/APKBUILD b/main/perl-pathtools/APKBUILD index 13cabce487..5c1d2e0f1f 100644 --- a/main/perl-pathtools/APKBUILD +++ b/main/perl-pathtools/APKBUILD @@ -4,8 +4,8 @@ pkgname=perl-pathtools _pkgreal=PathTools pkgver=3.62 -pkgrel=1 -pkgdesc="unknown" +pkgrel=2 +pkgdesc="The combined distribution for the File::Spec and Cwd modules" url="http://search.cpan.org/dist/PathTools/" arch="all" license="GPL PerlArtistic" @@ -15,25 +15,29 @@ depends="$cpandepends" makedepends="perl-dev $cpanmakedepends" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" +builddir="$srcdir/$_pkgreal-$pkgver" prepare() { - cd "$_builddir" + cd "$builddir" PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor } build() { - cd "$_builddir" + cd "$builddir" 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="bfe148a89064078cf162504c30a4c41a PathTools-3.62.tar.gz" sha256sums="36350e12f58871437ba03391f80a506e447e3c6630cc37d0625bc25ff1c7b4d2 PathTools-3.62.tar.gz" sha512sums="c2c39bf57286d11131d027d97e4486698a4ffbb917a8b0fd7466a8c469c009fee1f70bfe4f51d5b6feef4d57de0c9be3145aa3a35625a5f26bbe7788c0ba66aa PathTools-3.62.tar.gz" |