summaryrefslogtreecommitdiff
path: root/community/mget/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/mget/PKGBUILD')
-rw-r--r--community/mget/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/community/mget/PKGBUILD b/community/mget/PKGBUILD
new file mode 100644
index 000000000..fb960d5cd
--- /dev/null
+++ b/community/mget/PKGBUILD
@@ -0,0 +1,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
+}