blob: 7e1cb5eeb49d1e59e1d1798773e030c9cd5337df (
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
35
36
37
38
39
40
41
|
# Maintainer: Christopher Rosell <chrippa@gmail.com>
# Contributor: Army
# Contributor: tomegun
pkgname=rtmpdump-git
pkgver=0.512.fa8646d
pkgrel=1
pkgdesc="A tool to download rtmp and rtmpe streams"
url="http://rtmpdump.mplayerhq.hu/"
arch=('i686' 'x86_64')
license=('GPL2' 'LGPL2.1')
depends=('openssl')
makedepends=('git')
provides=('rtmpdump')
conflicts=('rtmpdump')
source=("git+git://git.ffmpeg.org/rtmpdump")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/rtmpdump"
echo "0.$(git rev-list --count HEAD).$(git describe --always)"
}
build() {
cd "$srcdir/rtmpdump"
make OPT="$CFLAGS" XLDFLAGS="$LDFLAGS"
}
package() {
cd "$srcdir/rtmpdump"
install -dm755 "$pkgdir/usr/lib"
make prefix=/usr \
sbindir=/usr/bin \
mandir=/usr/share/man \
DESTDIR="$pkgdir" \
install
}
# vim:set ts=2 sw=2 et:
|