summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorsfx2016-01-14 18:47:29 +0100
committersfx2016-01-14 18:47:29 +0100
commitd24c88682cd4278d9d79445c5d83a7b032885382 (patch)
tree07d533469c601caabe99d9c62d6a21f8dcd54ba2
parent58810af7e1fc5132cd6a409ca08fbddfd8623ada (diff)
downloadaur-d24c88682cd4278d9d79445c5d83a7b032885382.tar.gz
January 14, 2016 - bump
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD9
2 files changed, 8 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 84a6aaf77ea..9feafc37b33 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,17 +1,18 @@
pkgbase = youtube-dl-git
pkgdesc = A small command-line program to download videos from YouTube.com and a few more sites - git version
- pkgver = 2016.01.07.2e02ecb
+ pkgver = 2016.01.14.345f121
pkgrel = 1
url = http://rg3.github.io/youtube-dl
arch = any
license = custom
makedepends = git
+ makedepends = pandoc
depends = python
depends = python-setuptools
optdepends = ffmpeg: for video post-processing
provides = youtube-dl
conflicts = youtube-dl
- source = youtube-dl-git-2016.01.07.2e02ecb.zip::https://github.com/rg3/youtube-dl/archive/master.zip
+ source = youtube-dl-git-2016.01.14.345f121.zip::https://github.com/rg3/youtube-dl/archive/master.zip
sha512sums = SKIP
pkgname = youtube-dl-git
diff --git a/PKGBUILD b/PKGBUILD
index 2477aab4f14..7e665b1d901 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@ _name=youtube-dl
_branch=master
pkgname=$_name-git
-pkgver=2016.01.07.2e02ecb
+pkgver=2016.01.14.345f121
pkgrel=1
pkgdesc='A small command-line program to download videos from YouTube.com and a few more sites - git version'
@@ -16,7 +16,7 @@ arch=('any')
license=('custom')
depends=('python' 'python-setuptools')
-makedepends=('git')
+makedepends=('git' 'pandoc')
optdepends=('ffmpeg: for video post-processing')
provides=("$_name")
@@ -34,16 +34,17 @@ sha512sums=(SKIP)
prepare() {
cd $_name-$_branch
sed -i 's|etc/bash_completion.d|share/bash-completion/completions|' setup.py
- sed -i ':etc/fish/completions:d' setup.py
+ sed -i 's|etc/fish/completions|share/fish/vendor_completions.d|' setup.py
}
package() {
cd $_name-$_branch
- python devscripts/bash-completion.py
+ LC_ALL=en_US.UTF-8 make bash-completion zsh-completion fish-completion README.txt youtube-dl.1
python setup.py install --root="$pkgdir" --optimize=1
mv "$pkgdir"/usr/share/bash-completion/completions/youtube-dl.bash-completion \
"$pkgdir"/usr/share/bash-completion/completions/youtube-dl
+ install -D -m644 youtube-dl.zsh "$pkgdir"/usr/share/zsh/site-functions/_youtube-dl
install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
}