diff options
Diffstat (limited to 'community/youtube-dl/APKBUILD')
-rw-r--r-- | community/youtube-dl/APKBUILD | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/community/youtube-dl/APKBUILD b/community/youtube-dl/APKBUILD index aeb52e4eca..f59dad238b 100644 --- a/community/youtube-dl/APKBUILD +++ b/community/youtube-dl/APKBUILD @@ -4,12 +4,12 @@ # Maintainer: Timo Teräs <timo.teras@iki.fi> pkgname=youtube-dl pkgver=2018.03.03 -pkgrel=0 +pkgrel=1 pkgdesc="A small command-line program to download videos from YouTube" url="http://youtube-dl.org" arch="noarch" license="Unlicense" -depends="python2 py-setuptools ffmpeg" +depends="python3 ffmpeg" subpackages=" $pkgname-doc $pkgname-zsh-completion:zshcomp @@ -20,8 +20,9 @@ builddir="$srcdir/$pkgname" prepare() { cd "$builddir" - sed -i 's|etc/bash_completion.d|share/bash-completion/completions|' setup.py - sed -i 's|etc/fish/completions|share/fish/completions|' setup.py + sed -i setup.py \ + -e 's|etc/bash_completion.d|share/bash-completion/completions|' \ + -e 's|etc/fish/completions|share/fish/completions|' } check() { @@ -31,8 +32,7 @@ check() { package() { cd "$builddir" - python2 setup.py install --root="$pkgdir/" --optimize=1 - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + python3 setup.py install --root="$pkgdir/" --optimize=1 } zshcomp() { |