Skip to content
Snippets Groups Projects
Commit 59913720 authored by Valery Kartel's avatar Valery Kartel Committed by Leonardo Arena
Browse files

main/perl-test-harness: fixes in apkbuild

- add depends= in utils subpackage
- fix replaces= in utils subpackage
- move *.pod files to doc subpackage
parent 5542fcd0
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@
pkgname=perl-test-harness
_pkgreal=Test-Harness
pkgver=3.36
pkgrel=1
pkgrel=2
pkgdesc="Run Perl standard test scripts with statistics"
url="http://search.cpan.org/dist/Test-Harness/"
arch="noarch"
......@@ -37,7 +37,8 @@ package() {
utils() {
pkgdesc="$pkgdesc (utilities)"
replaces="perl"
depends="$pkgname perl"
replaces="perl-utils"
mkdir -p "$subpkgdir"/usr || return 1
mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
}
......@@ -45,6 +46,11 @@ utils() {
doc() {
default_doc
replaces="perl-doc"
local file; for file in $(find "$pkgdir" -name "*.pod"); do
file=${file#$pkgdir/}
mkdir -p "$subpkgdir"/${file%/*} || return 1
mv "$pkgdir"/$file "$subpkgdir"/$file || return 1
done
}
md5sums="4c8d9c77e8e06ca96c7383c05c8f3616 Test-Harness-3.36.tar.gz"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment