summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/avideo/PKGBUILD34
1 files changed, 0 insertions, 34 deletions
diff --git a/pcr/avideo/PKGBUILD b/pcr/avideo/PKGBUILD
deleted file mode 100644
index 0cb9711cb..000000000
--- a/pcr/avideo/PKGBUILD
+++ /dev/null
@@ -1,34 +0,0 @@
-# Maintainer(Hyperbola): André Silva <emulatorman@hyperbola.info>
-# Contributor(Hyperbola): Márcio Silva <coadde@hyperbola.info>
-
-pkgname=avideo
-pkgver=2017.9.27
-pkgrel=2.1
-pkgdesc="A small command-line program to download videos from YouTube.com and a few more sites (a libre fork of youtube-dl)"
-arch=('any')
-url="https://notabug.org/GPast/avideo"
-license=('GPL3')
-conflicts=('youtube-dl')
-provides=('youtube-dl' 'avideo')
-depends=('python' 'python-setuptools')
-optdepends=('ffmpeg: for video post-processing'
- 'rtmpdump: for rtmp streams support'
- 'atomicparsley: for embedding thumbnails into m4a files')
-source=(https://notabug.org/GPast/${pkgname}/raw/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha512sums=('45426b563b6c8fdab6ef41c1ec54d5bf7376fc56d69e5e862899ed6753add00f2e66101636f591ef3a56b85ddb0c00bcd684d06a8682f3ecbe3b37e47e4d4765')
-
-prepare() {
- cd ${pkgname}
- 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 ${pkgname}
- python setup.py install --root="${pkgdir}/" --optimize=1
- mv "${pkgdir}/usr/share/bash-completion/completions/avideo.bash-completion" \
- "${pkgdir}/usr/share/bash-completion/completions/avideo"
- install -Dm644 avideo.zsh "${pkgdir}/usr/share/zsh/site-functions/_avideo"
- install -Dm644 COPYING.txt "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
- ln -sv avideo "${pkgdir}/usr/bin/youtube-dl"
-}