# Maintainer: xduugu # Contributor: Elis Hughes pkgname=rtmpdump pkgver=2.3 pkgrel=2 pkgdesc="A tool to download rtmp:// and rtmpe:// streams" arch=('i686' 'x86_64') url="http://rtmpdump.mplayerhq.hu/" license=('LGPL') depends=('openssl') source=( http://mirrors.kernel.org/gentoo/distfiles/$pkgname-$pkgver.tgz # Upstream is not accessible from Vodafone/Germany #http://rtmpdump.mplayerhq.hu/download/$pkgname-$pkgver.tgz ) md5sums=('eb961f31cd55f0acf5aad1a7b900ef59') sha256sums=('ef38b7a99d82ce6912063d21063aeaf28185341b3df486e24bffce5354224b2c') #if [[ ! -e "$SRCDEST/${source[0]##*/}" ]]; then #cd "$SRCDEST" #download_file "$(get_downloadclient "$(get_url "${source[0]}")")" "$(get_url "${source[0]}")" "$(get_filename "${source[0]}")" \ #|| download_file "$(get_downloadclient "$(get_url "${source[1]}")")" "$(get_url "${source[1]}")" "$(get_filename "${source[1]}")" #cd "$OLDPWD" #fi build() { cd "$srcdir/$pkgname-$pkgver" sed -i 's/^install_so.0:.*/& install_base/' librtmp/Makefile } package() { cd "$srcdir/$pkgname-$pkgver" make prefix=/usr MANDIR="$pkgdir/usr/share/man" DESTDIR="$pkgdir" install }