diff options
Diffstat (limited to 'community/youtube-dl/APKBUILD')
-rw-r--r-- | community/youtube-dl/APKBUILD | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/community/youtube-dl/APKBUILD b/community/youtube-dl/APKBUILD index f39c1b4fdf..9d28bac31d 100644 --- a/community/youtube-dl/APKBUILD +++ b/community/youtube-dl/APKBUILD @@ -9,7 +9,8 @@ pkgdesc="Command-line program to download videos from YouTube" url="https://youtube-dl.org" arch="noarch" license="Unlicense" -depends="ffmpeg python3 py3-setuptools" +depends="python3" +makedepends="python3-dev py3-setuptools" options="!check" # FIXME: run provided tests subpackages="$pkgname-doc $pkgname-zsh-completion:zshcomp @@ -26,6 +27,11 @@ prepare() { "$builddir"/setup.py } +build() { + cd "$builddir" + python3 setup.py build +} + package() { cd "$builddir" python3 setup.py install --root="$pkgdir/" --optimize=1 |