mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
25 lines
790 B
Bash
25 lines
790 B
Bash
|
# $Id: PKGBUILD 2151 2009-09-09 18:46:20Z rvanharen $
|
||
|
# Maintainer: Ronald van Haren <ronald.archlinux.org>
|
||
|
# Contributor: Alessio 'mOLOk' Bolognino <themolok@gmail.com>
|
||
|
|
||
|
pkgname=youtube-dl
|
||
|
pkgver=2009.09.08
|
||
|
pkgrel=1
|
||
|
pkgdesc="A small command-line program to download videos from YouTube.com"
|
||
|
arch=('any')
|
||
|
url="http://bitbucket.org/rg3/youtube-dl/"
|
||
|
license=('MIT')
|
||
|
depends=('python')
|
||
|
source=(http://bitbucket.org/rg3/youtube-dl/raw/${pkgver}/youtube-dl)
|
||
|
md5sums=('20cea81ea926e62f1cfc1a135c40ea07')
|
||
|
|
||
|
build() {
|
||
|
install -Dm755 $srcdir/youtube-dl $pkgdir/usr/bin/youtube-dl
|
||
|
|
||
|
# install MIT license
|
||
|
install -d ${pkgdir}/usr/share/licenses/youtube-dl
|
||
|
awk /Copy/,/import/ youtube-dl | grep -v import \
|
||
|
| sed -re 's/#?//' > ${pkgdir}/usr/share/licenses/youtube-dl/COPYING
|
||
|
|
||
|
}
|