updated on Wed Jan 18 04:00:29 UTC 2012
[aur-mirror.git] / mazrim / PKGBUILD
blob4c946ae1f33d7426699ddd3443133017a940c608
1 # Contributor: adamruss
2 # Maintainer: shulamy <shulamy at regba.org.il>
3 pkgname=mazrim
4 pkgver=2.0
5 pkgrel=2
6 pkgdesc="A Utillity For Watching Stream Videos with mediaplayer - eng / heb gui"
7 arch=('i686' 'x86_64')
8 url="https://sourceforge.net/projects/mazrim/"
9 license=('GPL')
10 depends=('pythoncard2')
11 optdepends=('gnome-mplayer: mediaplayer support or'
12             'mplayer-x: mediaplayer support or'
13             'vlc: mediaplayer support or... try other')
15 install=mazrim.install
16 source=(http://downloads.sourceforge.net/sourceforge/mazrim/mazrim_$pkgver-1_all.deb mazrim.patch)
17 md5sums=('dcfe823cdc684333581a9bcede5b97b6'
18          '81142cd11c17eb428b90d35f86c54dfc')
20 build() {
21    local ROOT=../pkg
22    ar x mazrim_$pkgver-1_all.deb
23    mkdir -p mazrim
24    tar xf data.tar.gz -C mazrim
25    cp $startdir/mazrim.patch  $startdir/src/mazrim/etc/mazrim.patch
26    cd $startdir/src/mazrim/etc
27    patch -up0 -i mazrim.patch
28    cd $startdir/src
29    sed -i '3c exec python2 Mazrim.py' mazrim/usr/bin/mazrim
30    cp -r mazrim/* $pkgdir
31    rm -rf control.tar.gz data.tar.gz debian-binary