diff options
author | Timo Teräs <timo.teras@iki.fi> | 2017-09-20 05:53:10 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2017-09-20 05:53:46 +0000 |
commit | 9ea842f0c854a04b53627ae451258d044123b9b8 (patch) | |
tree | 6378df82c4393f85649eaff181d18227b6b8a5bc /community/youtube-dl | |
parent | a39807845d681c02e7931d4ec028a2c1dfed21cd (diff) | |
download | aports-9ea842f0c854a04b53627ae451258d044123b9b8.tar.bz2 aports-9ea842f0c854a04b53627ae451258d044123b9b8.tar.xz |
community/youtube-dl: upgrade to 2017.09.15, modernize
Diffstat (limited to 'community/youtube-dl')
-rw-r--r-- | community/youtube-dl/APKBUILD | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/community/youtube-dl/APKBUILD b/community/youtube-dl/APKBUILD index 922f0236e3..68429c7ca5 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=2017.08.27.1 +pkgver=2017.09.15 pkgrel=0 pkgdesc="A small command-line program to download videos from YouTube" url="http://youtube-dl.org" @@ -20,14 +20,14 @@ builddir="$srcdir/$pkgname" prepare() { cd "$builddir" - sed -i 's|etc/bash_completion.d|share/bash-completion/completions|' setup.py || return 1 - sed -i 's|etc/fish/completions|share/fish/completions|' setup.py || return 1 + sed -i 's|etc/bash_completion.d|share/bash-completion/completions|' setup.py + sed -i 's|etc/fish/completions|share/fish/completions|' setup.py } package() { cd "$builddir" - python2 setup.py install --root="$pkgdir/" --optimize=1 || return 1 - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" || return 1 + python2 setup.py install --root="$pkgdir/" --optimize=1 + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } zshcomp() { @@ -36,7 +36,7 @@ zshcomp() { install_if="$pkgname=$pkgver-r$pkgrel zsh" install -Dm644 "$builddir"/$pkgname.zsh \ - "$subpkgdir"/usr/share/zsh/site-functions/_$pkgname || return 1 + "$subpkgdir"/usr/share/zsh/site-functions/_$pkgname } bashcomp() { @@ -46,7 +46,7 @@ bashcomp() { 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 || return 1 + "$subpkgdir"/usr/share/bash-completion/completions/$pkgname } fishcomp() { @@ -56,7 +56,7 @@ fishcomp() { mkdir -p "$subpkgdir"/usr/share/fish/completions/ mv "$pkgdir"/usr/share/fish/completions/$pkgname.fish \ - "$subpkgdir"/usr/share/fish/completions/ || return 1 + "$subpkgdir"/usr/share/fish/completions/ } -sha512sums="4cbe2c2b917b59ccb5a171a171c69d5bdd915a56a4ca2d4bf67a04c7425b2d4849403a78d954cd0aa8401f8f4b61e4ebe96160aba2a9d2f3da1eae026739e9ba youtube-dl-2017.08.27.1.tar.gz" +sha512sums="91b286485ba9b8706b8606f97259796b26496e4f6d0ebc61bc8f8e15eb170008be7abb868636f0ceb1d658d8bf4bdba09fa179e53d98fea94cba2d6c5b4ba363 youtube-dl-2017.09.15.tar.gz" |