aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorprspkt <prspkt@protonmail.com>2020-09-20 20:03:30 +0300
committerprspkt <prspkt@protonmail.com>2020-09-20 20:13:37 +0300
commite5fe31039b05a6d53a7d8d41ca2ebcb728ac0eec (patch)
tree2d76165a74bb572575c57cb722968e0351f65f80
parent6f94b4e0b163836ee44f34e35f93a48a92436442 (diff)
downloadaports-e5fe31039b05a6d53a7d8d41ca2ebcb728ac0eec.tar.gz
aports-e5fe31039b05a6d53a7d8d41ca2ebcb728ac0eec.tar.bz2
aports-e5fe31039b05a6d53a7d8d41ca2ebcb728ac0eec.tar.xz
community/youtube-dl: upgrade to 2020.09.20
* Use default subpackage routines for bash and fish completions.
-rw-r--r--community/youtube-dl/APKBUILD26
1 files changed, 4 insertions, 22 deletions
diff --git a/community/youtube-dl/APKBUILD b/community/youtube-dl/APKBUILD
index 1340211719..635e98e0cd 100644
--- a/community/youtube-dl/APKBUILD
+++ b/community/youtube-dl/APKBUILD
@@ -3,7 +3,7 @@
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=youtube-dl
-pkgver=2020.09.14
+pkgver=2020.09.20
pkgrel=0
pkgdesc="Command-line program to download videos from YouTube"
url="https://youtube-dl.org/"
@@ -13,8 +13,8 @@ depends="python3 py3-setuptools"
checkdepends="py3-flake8 py3-nose"
subpackages="$pkgname-doc
$pkgname-zsh-completion:zshcomp
- $pkgname-bash-completion:bashcomp
- $pkgname-fish-completion:fishcomp"
+ $pkgname-bash-completion
+ $pkgname-fish-completion"
source="https://github.com/rg3/youtube-dl/releases/download/$pkgver/youtube-dl-$pkgver.tar.gz"
builddir="$srcdir/$pkgname"
@@ -46,22 +46,4 @@ zshcomp() {
"$subpkgdir"/usr/share/zsh/site-functions/_$pkgname
}
-bashcomp() {
- pkgdesc="Bash completions for $pkgname"
- install_if="$pkgname=$pkgver-r$pkgrel bash-completion"
-
- mkdir -p "$subpkgdir"/usr/share/bash-completion/completions/
- mv "$pkgdir"/usr/share/bash-completion/completions/$pkgname.bash-completion \
- "$subpkgdir"/usr/share/bash-completion/completions/$pkgname
-}
-
-fishcomp() {
- pkgdesc="Fish completions for $pkgname"
- install_if="$pkgname=$pkgver-r$pkgrel fish"
-
- mkdir -p "$subpkgdir"/usr/share/fish/completions/
- mv "$pkgdir"/usr/share/fish/completions/$pkgname.fish \
- "$subpkgdir"/usr/share/fish/completions/
-}
-
-sha512sums="6cc910e8725bb4d394ba45a1a89a6975e672a0a5869ecd41a312ade9127f3b14bf26268728baf575d41595457d157c6ab7179045687ad0a882b1c6e4bf4e166a youtube-dl-2020.09.14.tar.gz"
+sha512sums="ed511016d0cfcbbee0cd651f793cb31cdb46d80243f86186de1cc54cb2a2055fae2f5cc3e16f838fc2ba47f3ff6f3b484219c8a707904fbc30193a2b28a1e30c youtube-dl-2020.09.20.tar.gz"