aboutsummaryrefslogtreecommitdiffstats
path: root/community/youtube-dl/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/youtube-dl/APKBUILD')
-rw-r--r--community/youtube-dl/APKBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/community/youtube-dl/APKBUILD b/community/youtube-dl/APKBUILD
index 2f5ad2855d..193601d7aa 100644
--- a/community/youtube-dl/APKBUILD
+++ b/community/youtube-dl/APKBUILD
@@ -11,8 +11,7 @@ arch="noarch"
license="Unlicense"
depends="python3 ffmpeg"
options="!check" # FIXME: run provided tests
-subpackages="
- $pkgname-doc
+subpackages="$pkgname-doc
$pkgname-zsh-completion:zshcomp
$pkgname-bash-completion:bashcomp
$pkgname-fish-completion:fishcomp"
@@ -20,10 +19,11 @@ source="https://github.com/rg3/$pkgname/releases/download/$pkgver/$pkgname-$pkgv
builddir="$srcdir/$pkgname"
prepare() {
- cd "$builddir"
- sed -i setup.py \
+ default_prepare
+ sed -i \
-e 's|etc/bash_completion.d|share/bash-completion/completions|' \
- -e 's|etc/fish/completions|share/fish/completions|'
+ -e 's|etc/fish/completions|share/fish/completions|' \
+ "$builddir"/setup.py
}
package() {