summaryrefslogtreecommitdiff
path: root/user/py3-docutils/APKBUILD
diff options
context:
space:
mode:
authorCyberLeo <cyberleo@cyberleo.net>2020-03-28 05:45:52 -0500
committerCyberLeo <cyberleo@cyberleo.net>2020-03-28 05:45:52 -0500
commit9297468fa579836e3a6a381b798feb6b78217c2d (patch)
tree53168212f427afbcf0693b534530a4af803152e9 /user/py3-docutils/APKBUILD
parenta63cc05c53a6f4c22422dc8c69808b14d87a6f6e (diff)
parentda5a69b65a8791fffa6e93366ee585f87eff136d (diff)
downloadpackages-9297468fa579836e3a6a381b798feb6b78217c2d.tar.gz
packages-9297468fa579836e3a6a381b798feb6b78217c2d.tar.bz2
packages-9297468fa579836e3a6a381b798feb6b78217c2d.tar.xz
packages-9297468fa579836e3a6a381b798feb6b78217c2d.zip
Merge branch 'master' into zfs
Diffstat (limited to 'user/py3-docutils/APKBUILD')
-rw-r--r--user/py3-docutils/APKBUILD13
1 files changed, 6 insertions, 7 deletions
diff --git a/user/py3-docutils/APKBUILD b/user/py3-docutils/APKBUILD
index c07253ad7..5c1db1353 100644
--- a/user/py3-docutils/APKBUILD
+++ b/user/py3-docutils/APKBUILD
@@ -38,16 +38,15 @@ package() {
doc() {
default_doc
- cd "$builddir"
- local docdir="$subpkgdir/usr/share/doc/$pkgname"
+ docdir="$subpkgdir/usr/share/doc/$pkgname"
mkdir -p "$docdir"
- cp -R docs/* "$docdir"
- cp *.txt "$docdir"
+ cp -R "$builddir"/docs/* "$docdir"
+ cp "$builddir"/*.txt "$docdir"
- local licdir="$subpkgdir/usr/share/licenses/$pkgname"
+ licdir="$subpkgdir/usr/share/licenses/$pkgname"
mkdir -p "$licdir"
- rm -f licenses/docutils.conf
- cp licenses/* "$licdir"
+ rm -f "$builddir"/licenses/docutils.conf
+ cp "$builddir"/licenses/* "$licdir"
}
sha512sums="b4528c7eba5a27e40f290a9df6894c277d11906d02f6842b9f364b29af9aa1e46f6008c87e4355947bcfa9f2db1cae9f38cf9fa7b8008ba45fa6d685922003a6 py3-docutils-0.15.2.tar.gz"