diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-01-10 00:18:13 +0100 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-01-10 00:19:30 +0100 |
commit | 03ee0f926543812f077b1a1e2598316f586bef5a (patch) | |
tree | 2036632a6cd74ef1e1e01f91179c71e103ec6846 /community/youtube-dl | |
parent | 3e795e3cccb4f24cd76673faafea26e92de9b3d1 (diff) | |
download | aports-03ee0f926543812f077b1a1e2598316f586bef5a.tar.bz2 aports-03ee0f926543812f077b1a1e2598316f586bef5a.tar.xz |
community/youtube-dl: upgrade to 2016.01.09
Also create a subpackage for zsh completions.
Diffstat (limited to 'community/youtube-dl')
-rw-r--r-- | community/youtube-dl/APKBUILD | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/community/youtube-dl/APKBUILD b/community/youtube-dl/APKBUILD index 5da6f55345..738ebf1942 100644 --- a/community/youtube-dl/APKBUILD +++ b/community/youtube-dl/APKBUILD @@ -4,7 +4,7 @@ # Contributor: Timo Teräs <timo.teras@iki.fi> # Maintainer: Timo Teräs <timo.teras@iki.fi> pkgname=youtube-dl -pkgver=2015.12.13 +pkgver=2016.01.09 pkgrel=0 pkgdesc="A small command-line program to download videos from YouTube." url="http://youtube-dl.org " @@ -13,6 +13,7 @@ license="Public Domain" depends="python>=2.5 py-setuptools ffmpeg" subpackages=" $pkgname-doc + $pkgname-zsh-completion:zshcomp $pkgname-bash-completion:bashcomp $pkgname-fish-completion:fishcomp" source="http://$pkgname.org/downloads/$pkgver/$pkgname-$pkgver.tar.gz" @@ -30,6 +31,16 @@ package() { install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" || return 1 } +zshcomp() { + depends="" + pkgdesc="Zsh completions for $pkgname" + install_if="$pkgname=$pkgver-r$pkgrel zsh" + arch="noarch" + + install -Dm644 "$_builddir"/$pkgname.zsh \ + "$subpkgdir"/usr/share/zsh/site-functions/_$pkgname || return 1 +} + bashcomp() { depends="" pkgdesc="Bash completions for $pkgname" @@ -52,6 +63,6 @@ fishcomp() { "$subpkgdir"/usr/share/fish/completions/ || return 1 } -md5sums="6e16ef95bd8d69ff5453c36b6a3532c0 youtube-dl-2015.12.13.tar.gz" -sha256sums="9c788925865ff559b6c9f124d35aed1125046efda7c6a386f0da59d4eac2ead8 youtube-dl-2015.12.13.tar.gz" -sha512sums="039778326955ee126ce18ebe9133c9fca03d3fd14bbb56ebff50335e47ce2b24b9ddc8558c35bb4596692ee03b415f72bc238a74bd3034de7ed80a869cc4d64a youtube-dl-2015.12.13.tar.gz" +md5sums="7bbb146b682385d5e4adb5cfee3badcb youtube-dl-2016.01.09.tar.gz" +sha256sums="463cfed59a1e2c6609a8e3d3354e0494833f1b249fe1979984b06a51ac5c904d youtube-dl-2016.01.09.tar.gz" +sha512sums="bc022939ec2cdd574ca5ecedbfb349d516881996b50aac6a96220d94c358a38ff4ec8f8bd50195e2a6087dee558149e820935c60eaff8bb521bc8828413d44bf youtube-dl-2016.01.09.tar.gz" |