blob: ee3c0079a9e3a6e890638512c9c7d59865d92dec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Maintainer: xduugu
# Contributor: Elis Hughes <elishughes@googlemail.com>
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
}
|