summaryrefslogtreecommitdiff
path: root/user/py3-docutils/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-12 10:35:07 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-12 10:35:07 +0000
commit20b49018c40a8128596be4450639bb4252be6e15 (patch)
treead628ac854a36c5979d83df0be7aaffbfde6339d /user/py3-docutils/APKBUILD
parent60669ea0bb74adb5892714a8580e984eb446fb53 (diff)
downloadpackages-20b49018c40a8128596be4450639bb4252be6e15.tar.gz
packages-20b49018c40a8128596be4450639bb4252be6e15.tar.bz2
packages-20b49018c40a8128596be4450639bb4252be6e15.tar.xz
packages-20b49018c40a8128596be4450639bb4252be6e15.zip
user/*: Modernise / fix syntax / deps / metadata
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"