# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: mirandir <mirandir (at) orange (dot) fr>
pkgname=mimms
pkgver=3.2.1
pkgrel=2
pkgdesc="Download streams using the MMS protocol and save them to your computer"
arch=('any')
url="http://savannah.nongnu.org/projects/mimms/"
license=('GPL3')
depends=('libmms' 'python2')
source=(https://launchpad.net/ubuntu/+archive/primary/+files/${pkgname}_${pkgver}.orig.tar.gz)
md5sums=('59de15b7011ddf55763784049fbc21d0')
build() {
cd ${srcdir}/$pkgname-$pkgver
#Python2 fix
sed -i "s/python/python2/g" Makefile
make
}
package() {
cd ${srcdir}/$pkgname-$pkgver
make DESTDIR=${pkgdir} install
}