PKGBUILDs/community/pytube/PKGBUILD
2009-10-09 21:15:33 -05:00

27 lines
1.1 KiB
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: Shiba Ikumi <shibotto@gmail.com>
# Contributor: Archie <xMickael@ifrance.com>
pkgname=pytube
pkgver=0.0.11.5
pkgrel=1
pkgdesc="PyGTK GUI for the use of downloading and converting YouTube videos"
arch=('i686' 'x86_64')
url="http://www.marcosrodriguez.me/pytube/"
license=('GPL3')
depends=('pygtk' 'youtube-dl' 'mplayer' 'ffmpeg2theora' \
'vorbis-tools' 'swftools' 'sox' 'python-gdata')
source=(http://marcosrodriguez.me/${pkgname}/releases/${pkgname}-${pkgver}.tar.gz)
md5sums=('8de9c1c8f99aa7dc339f4cfdfb7c3986')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
install -d ${pkgdir}/usr/{bin,share/{${pkgname}{,/stream2hdd},applications,pixmaps}}
install -Dm755 pytube $startdir/pkg/usr/bin/
install -Dm644 {*.png,pytubegui.glade} ${pkgdir}/usr/share/${pkgname}
install -Dm755 pytube.py ${pkgdir}/usr/share/${pkgname}
install -Dm644 stream2hdd/* ${pkgdir}/usr/share/${pkgname}/stream2hdd
install -Dm644 pytube.desktop ${pkgdir}/usr/share/applications/
install -Dm644 pytube.png ${pkgdir}/usr/share/pixmaps/
}