blob: fb960d5cd81a7ec4667fc2aa651ff0e6f3ac3024 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# $Id: PKGBUILD 4928 2009-11-02 21:45:22Z ibiru $
# Maintainer: Alexander Fehr <pizzapunk gmail com>
pkgname=mget
pkgver=1.50
pkgrel=2
pkgdesc="Simple script allowing to download embedded movies from various video hosting services"
arch=('i686' 'x86_64')
url="http://movie-get.org/"
license=('GPL2')
depends=('ruby' 'wget')
optdepends=('ffmpeg: for converting movies'
'mplayer: for downloading mms streams')
source=(http://mget.googlecode.com/files/mget-$pkgver.tar.gz fix-warnings.patch)
md5sums=('d29bbef2f4536f8697ccabe782563624'
'4dcb1eafc95a7893c9b0be0a4232b282')
build() {
cd $srcdir/mget-$pkgver
patch -Np1 -i $srcdir/fix-warnings.patch || return 1
install -D -m755 mget.rb $pkgdir/usr/bin/mget
mkdir -p $pkgdir/usr/lib/ruby/1.9.1/mget
install -m644 lib/mget/*.rb $pkgdir/usr/lib/ruby/1.9.1/mget
install -D -m644 docs/mget.1 $pkgdir/usr/share/man/man1/mget.1
}
|