1 # Maintainer: Wido <widomaker2k7 at gmail>
6 pkgdesc="An application to record a user-friendly manner in a stream Real files .ram rtsp://."
8 url="http://www.loicp.eu/realripper/"
10 depends=('wxpython>=2.8' 'python2' 'mplayer')
11 source=("http://pub.loicp.eu/realripper/$pkgname-$pkgver.tar.gz" "http://pub.loicp.eu/realripper/realripper_pixmap_path_fix.diff")
12 md5sums=('b87a946697a335d8266c0523cda8cb4b' 'f8a741c0caa020339597d6c78d93844b')
15 cd $srcdir/$pkgname-$pkgver/
16 patch -p0 < $startdir/realripper_pixmap_path_fix.diff
18 for file in $(find . -name '*.py' -print); do
19 sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' $file
20 sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file
23 mkdir -p $pkgdir/usr/bin
24 cp $srcdir/$pkgname-$pkgver/realripper.py $pkgdir/usr/bin/realripper
26 mkdir -p $pkgdir/usr/share/applications
27 cp $srcdir/$pkgname-$pkgver/realripper.desktop $pkgdir/usr/share/applications/
29 mkdir -p $pkgdir/usr/share/doc/realripper
30 cp $srcdir/$pkgname-$pkgver/Changelog $pkgdir/usr/share/doc/realripper/
31 cp $srcdir/$pkgname-$pkgver/Copyright $pkgdir/usr/share/doc/realripper/
32 cp $srcdir/$pkgname-$pkgver/README $pkgdir/usr/share/doc/realripper/
34 mkdir -p $pkgdir/usr/share/man/man1/
35 gzip -9 $srcdir/$pkgname-$pkgver/realripper.1
36 cp $srcdir/$pkgname-$pkgver/realripper.1.gz $pkgdir/usr/share/man/man1/
38 mkdir -p $pkgdir/usr/share/pixmaps
39 cp $srcdir/$pkgname-$pkgver/realripper.png $pkgdir/usr/share/pixmaps/
41 chmod 755 $pkgdir/usr/bin/realripper