aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-07-14 13:30:38 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-07-14 13:30:38 -0300
commit36fd1da7ea41f7dc92c14d0a3515b43d3d062700 (patch)
tree5c90d3ea61502105acb1110f779e546fb71a2955
parentefbc9f9fbd73f0ece507d9f4ae0d5cdcc00f7f23 (diff)
downloadaports-master.tar.gz
aports-master.tar.bz2
aports-master.tar.xz
main/py3-docutils: create unsufixed version of the executablesHEADmaster
-rw-r--r--main/py3-docutils/APKBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/main/py3-docutils/APKBUILD b/main/py3-docutils/APKBUILD
index 4b4150ca78..6e94c86d53 100644
--- a/main/py3-docutils/APKBUILD
+++ b/main/py3-docutils/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Matt Smith <mcs@darkregion.net>
pkgname=py3-docutils
pkgver=0.16
-pkgrel=0
+pkgrel=1
pkgdesc="Documentation Utilities for Python3"
url="https://pypi.python.org/pypi/docutils"
arch="noarch"
@@ -32,6 +32,10 @@ package() {
mv "$path" "${path/.py/-3}"
done
+ cd "$pkgdir"/usr/bin
+ local bin; for bin in *-3; do
+ ln -s "$bin" "$pkgdir"/usr/bin/"${bin/-3/}"
+ done
}
doc() {