diff options
author | prspkt <prspkt@protonmail.com> | 2018-05-01 21:00:45 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2018-05-09 09:23:49 +0300 |
commit | 0a8287b60072f967e84f9026a9df4f338601852c (patch) | |
tree | 936944c7bfeb629a2fdda3d16107cc3d7db77ade /community/youtube-dl | |
parent | 8eca73e136f48aadb8b675179aacc4947573982c (diff) | |
download | aports-0a8287b60072f967e84f9026a9df4f338601852c.tar.bz2 aports-0a8287b60072f967e84f9026a9df4f338601852c.tar.xz |
community/youtube-dl: improve abuild
Diffstat (limited to 'community/youtube-dl')
-rw-r--r-- | community/youtube-dl/APKBUILD | 10 |
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() { |